How I Debug My Game | Finding & Fixing Bugs/Issues | Tutorial in Unreal Engine 5 (UE5)

  Рет қаралды 2,832

Ali Elzoheiry

Ali Elzoheiry

Күн бұрын

Learning Goals:
1 - A simple process to narrow down and find the cause of bugs in your game
2 - How to use print statements to validate the execution of your code
3 - How to use the Unreal Engine Debugger to inspect the values of program at certain points in the execution cycle
What bugs I encountered in this video:
- Bug 1: Montage notify not executing
- Bug 2: Line trace colliding with the wrong actor/object
- Bug 3: Score function unintentionally called twice
- Bug 4: Sword slash combo being spammed when spamming the attack button due to an incorrect interrupt
To download the full project files from all my videos and use any assets I create in your own games for free, then join my Patreon. Also I would be forever thankful to my early adopters
/ alizoh
Join my Discord server to chat and mingle with the community
/ discord
Link to part 1 of the "Smart Enemy AI" tutorial:
• Smart Enemy AI | (Part...
Link to the "Damage System" tutorial:
• How to Build a Combat ...
Link to the "Projectile System" tutorial:
• How to Shoot Projectil...
Checkout my other tutorials on my channel:
/ @alielzoheiry
Chapters:
00:00 What You'll Learn In This Video
00:50 Intro To My Mini-Game
01:33 Bug 1
07:53 Bug 2
12:09 Bug 3
17:48 Bug 4
28:59 Outro
About me:
I've been learning game development for a few years now, I do have a background in software engineering, and I also have a background in education, so being able to combine my love of gaming and love of education is the best way to spend my time.
I am currently working on this 3rd person action adventure game as a hobby, but I am also trying to build a community, thus I am creating KZbin tutorials to find others who are interested in game development and design.
If you are interested in learning more or if you are interested in working together, please let me know in the comments.
#unrealengine #unrealengine5 #ue5 #gamedev #tutorial #bug #debugging

Пікірлер: 56
@LegendOfCalvas
@LegendOfCalvas 8 ай бұрын
Again, I have to say, this man is literally the best teacher on KZbin. I wish I would have known about this channel when I first started out. 💯
@AliElZoheiry
@AliElZoheiry 8 ай бұрын
Thank you so much for your support. I'm glad you like the content, and good luck on your game, it's looking great ;)
@LegendOfCalvas
@LegendOfCalvas 8 ай бұрын
Thank you, really appreciate that! and keep up the good work! Love the channel!! @@AliElZoheiry
@occy999
@occy999 8 ай бұрын
Dude my guy is like literally a legend, you really seem to know what you’re doing, you just seem so professional and can explain concepts, it helps so much and giving all this content away, I’ve been going through making my first game for the final year uni project. My game contains a large portion of the smart AI series and I wouldn’t be able to do it without you. This all ends in six weeks, I’ll post a video of it for KZbin then. I’m placing all my bets on unreal for my future lol but I’ll make it work
@AliElZoheiry
@AliElZoheiry 8 ай бұрын
Thank you for all the kind words, I really appreciate your support 🙏 Good luck on your Uni project, curious to see it when it's done
@roydash5657
@roydash5657 8 ай бұрын
You not only amazing developer and person! You one of best developers who supported others! Thank you so much
@roydash5657
@roydash5657 8 ай бұрын
I am really so sorry. Please forgive me. I am right now work's 7 different Enemies AI. (I am uses your AI Too). I am just wanted you making Boss AI like DMC/Dark Souls. Please forgive me my order. I am just wanted to make good game for find job. Really appreciate your help. I am really so grateful for your amazing tutorials. I wish you all the best.
@after9485
@after9485 8 ай бұрын
@@roydash5657 it's really will be Awesome! I'm buying so many animations like a DMC. If I put this animations boss. It's will be PERFECT
@greatoni8452
@greatoni8452 8 ай бұрын
@@after9485 I Agree 👍 Ali is the best developers EVER! Ali can making really robot! Just kidding :) Honestly in my project too needs BOSS AI ENEMY! It's sounds like a Very Cool!
@AliElZoheiry
@AliElZoheiry 8 ай бұрын
Thank you as always Roy, you're always very kind. I will definitely be doing a boss fight tutorial, just not sure how soon it will be yet because my plan isn't very clear at the moment unfortunately, but I will let you know when I start working on it
@roydash5657
@roydash5657 8 ай бұрын
@@AliElZoheiry I am really so grateful for you. I am wishing you all the best! I am really so gladly supported you.
@Justlivin00
@Justlivin00 8 ай бұрын
This was very educational. I know ill be coming back to this in the future. Thanks for the video, and more videos like this are definitely appreciated. Thanks again 👍
@AliElZoheiry
@AliElZoheiry 8 ай бұрын
Thank you for the feedback, really glad you liked it, I'll try to make more educational content like this
@Chatmanstreasure
@Chatmanstreasure 8 ай бұрын
Awesome video, been doing unreal for just about a year now. And slowly starting to grasp how to trouble shoot, Appreciate you!!
@AliElZoheiry
@AliElZoheiry 8 ай бұрын
Thank you, I really appreciate your support. Glad you found this useful 🙏
@ericlagel
@ericlagel 8 ай бұрын
Lovely video. Thanks for sharing these tips. Debugging is not always sexy, but it's great to see some focus on techniques we can use
@AliElZoheiry
@AliElZoheiry 8 ай бұрын
You're very welcome, glad you found it useful 🙏 it's indeed not the sexiest topic, but I hope it helps a lot of people fix bugs easier
@themeskimoze
@themeskimoze 8 ай бұрын
great concept, tutorial and demonstration
@AliElZoheiry
@AliElZoheiry 8 ай бұрын
Glad you liked it. and thank you for always watching 🙏
@hauntingalpha5195
@hauntingalpha5195 8 ай бұрын
another great tutorial, that can be used for all scenarios!
@AliElZoheiry
@AliElZoheiry 8 ай бұрын
Thank you! Glad you found it useful 🙏
@velocifossa
@velocifossa 8 ай бұрын
Looking forward to the performance issue correction vid! I don't know if that'll cover discrepancies between the different PIE modes, but still useful nonetheless. Nice vid my dude!
@AliElZoheiry
@AliElZoheiry 8 ай бұрын
Glad you liked it! I'll start planning the performance video soon
@ShawnPolancoII
@ShawnPolancoII 8 ай бұрын
Thank you for this tutorial! I hope you'd consider making some future content about giving your character the ability to switch between melee and ranged weapons just like in this video.
@AliElZoheiry
@AliElZoheiry 7 ай бұрын
You’re most welcome. Glad you liked it, I will indeed be adding some of these elements to my AI series, to test out the melee combat system of the enemies with melee attacks from the player themselves
@Shizuma450
@Shizuma450 8 ай бұрын
Thank you Ali Elzoheiry, this video is really educational, and allows me to think differently when I want to debug, you really have an organized and clean method, it's impressive! We can feel that you've often been confronted with these problems haha, to the point that your way of debugging is really optimized. I've gotten into the habit of fixing a bug to create a new one... haha On the other hand, when you talk about fps drop ect... I must admit it would be incredibly instructive! I think your final message is very pertinent, and it's true, you're absolutely right. I really have the impression that creating a video game is 80% maintenance xD Thank you for this video, and for taking the time to show us an efficient and clean way of doing things!
@AliElZoheiry
@AliElZoheiry 8 ай бұрын
Thank you as always for your support Shizuma, indeed a huge part of building software in general is debugging and maintenance, so it's really important to keep improving that skill.
@Nirah-qs7qr
@Nirah-qs7qr 7 ай бұрын
Thank you for this video! I know you aren't going to get as many likes for this video as others. But please make more!!! I'm going to subscribe to your patreon.
@AliElZoheiry
@AliElZoheiry 7 ай бұрын
Thanks again Nirah, I really appreciate the support 🙏
@occy999
@occy999 8 ай бұрын
Definitely gonna do some exercises to help make this instinctual
@AliElZoheiry
@AliElZoheiry 8 ай бұрын
It's all about that practice ;)
@luckycogstudios
@luckycogstudios 4 ай бұрын
This is awesome. Could you make a similar video on how to bug fix animation sliding / animations looking bad / not syncing up correctly with movement?
@AliElZoheiry
@AliElZoheiry 4 ай бұрын
Hey, thank you for the suggestion, I'll definitely take it into consideration 🙏
@sara-uh8xy
@sara-uh8xy 8 ай бұрын
Dam this is a solid videos the only debugging way i knew was to use the print string 😆 we good to expand the language, there still something that i don't full understand its about how breakpoint works ig i will have to use in my project to know about it better. Nevertheless, very well done :))
@AliElZoheiry
@AliElZoheiry 8 ай бұрын
Thank you Sara 😊 really glad you found it useful 🙏
@hendra_winata13
@hendra_winata13 8 ай бұрын
Please do performance profiling or optimizing especially when using lumen feature. Thank you so much!
@AliElZoheiry
@AliElZoheiry 8 ай бұрын
I'll definitely be planning it, it's an interesting topic for me as well 😊
@Istarsiva
@Istarsiva 8 ай бұрын
Can you make a map tutorial with automatic widget switchers in the world that activate when in doors?
@AliElZoheiry
@AliElZoheiry 8 ай бұрын
What do you mean by automatic widget switchers?
@Istarsiva
@Istarsiva 8 ай бұрын
@@AliElZoheiry I mean when going inside a building or a cave the map texture switches accordingly !
@AliElZoheiry
@AliElZoheiry 8 ай бұрын
Ahh ok, I understand now 👍
@ryanjdevlin87
@ryanjdevlin87 6 ай бұрын
You sir haven't taught me how to catch a fish you taught me how to hunt skin and cook moby dick himself !! your the best Ali thanks so much
@AliElZoheiry
@AliElZoheiry 6 ай бұрын
It is my pleasure Ryan, I'm very happy to see that you saw the value in this video. It definitely didn't get as much love as my other's, so I was starting to think that people didn't care about fixing bugs 😂 you have restored my faith 🙏
@roydash5657
@roydash5657 7 ай бұрын
Mr Ali I need your advice. I am really so sorry for disturbing you. I made a 2 Damage system, but they had problems (AOE damage did not work sometimes). Mr. Ali your damage system good for rpg games? Please don't think bad Idea. I mean Mr. Ali your damage system can attack many enemies at the same time? I am just not want wasted time searching or making damage system. I am really so want to making this game (I am already wasted so many times). Please you can give me advice?
@AliElZoheiry
@AliElZoheiry 7 ай бұрын
Hey Roy, yeah the damage system can be used to damage multiple enemies at once, it's actually not the damage system that's responsible for that, but how you set up your attack
@roydash5657
@roydash5657 7 ай бұрын
@@AliElZoheiry You awesome person in this world. You really very good person. Thank you so much
@user-xv6hh8iw8m
@user-xv6hh8iw8m 8 ай бұрын
及时雨。 Teach a man to fish.
@AliElZoheiry
@AliElZoheiry 8 ай бұрын
Hahaha indeed, that's what I aim to do :D
20 Unreal Engine Tips You NEED to know | UE5
8:38
Ali Elzoheiry
Рет қаралды 16 М.
SHE WANTED CHIPS, BUT SHE GOT CARROTS 🤣🥕
00:19
OKUNJATA
Рет қаралды 13 МЛН
СҰЛТАН СҮЛЕЙМАНДАР | bayGUYS
24:46
bayGUYS
Рет қаралды 580 М.
ПЕЙ МОЛОКО КАК ФОКУСНИК
00:37
Masomka
Рет қаралды 10 МЛН
Unreal Engine 5 | Blueprint For Intermediate Users (2023)
2:24:37
Smart Poly
Рет қаралды 80 М.
Unreal Engine: Blocking & Parry Test
0:41
Hagakure_UE
Рет қаралды 2,3 М.
Tips for Quickly Prototyping | Inside Unreal
2:18:41
Unreal Engine
Рет қаралды 24 М.
The Most Common Mistake Beginners Make in Unreal Engine | UE5
12:17
Ali Elzoheiry
Рет қаралды 85 М.
Make An Open World Map in 20 Mins | Unreal Engine 5
20:01
Smart Poly
Рет қаралды 470 М.
My Journey To Becoming An Indie Game Dev
10:34
Ali Elzoheiry
Рет қаралды 13 М.
Do You Want The Baby Frog To Get The Food? #shorts
0:46
ZolphiusFun
Рет қаралды 22 МЛН
Please Help Steve In Lava Pit Challenge
0:31
ToonToon Daily
Рет қаралды 2,9 МЛН
Рико что читер?
0:49
Garga
Рет қаралды 1,9 МЛН