How I Debug My Game | Finding & Fixing Bugs/Issues | Tutorial in Unreal Engine 5 (UE5)
Вставка
- Опубліковано 19 чер 2024
- 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 UA-cam 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 - Ігри
Again, I have to say, this man is literally the best teacher on UA-cam. I wish I would have known about this channel when I first started out. 💯
Thank you so much for your support. I'm glad you like the content, and good luck on your game, it's looking great ;)
Thank you, really appreciate that! and keep up the good work! Love the channel!! @@AliElZoheiry
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 👍
Thank you for the feedback, really glad you liked it, I'll try to make more educational content like this
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 UA-cam then. I’m placing all my bets on unreal for my future lol but I’ll make it work
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
Awesome video, been doing unreal for just about a year now. And slowly starting to grasp how to trouble shoot, Appreciate you!!
Thank you, I really appreciate your support. Glad you found this useful 🙏
great concept, tutorial and demonstration
Glad you liked it. and thank you for always watching 🙏
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
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
another great tutorial, that can be used for all scenarios!
Thank you! Glad you found it useful 🙏
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!
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.
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!
Glad you liked it! I'll start planning the performance video soon
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.
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
Thanks for this. Underrated video
Hey, thanks for watching! I'm glad you found it helpful. Your feedback means a lot 🙏
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.
Thanks again Nirah, I really appreciate the support 🙏
You not only amazing developer and person! You one of best developers who supported others! Thank you so much
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.
@@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
@@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!
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
@@AliElZoheiry I am really so grateful for you. I am wishing you all the best!
I am really so gladly supported you.
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 :))
Thank you Sara 😊 really glad you found it useful 🙏
Definitely gonna do some exercises to help make this instinctual
It's all about that practice ;)
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?
Hey, thank you for the suggestion, I'll definitely take it into consideration 🙏
you the man
Hey, thanks for the support 🙏
Please do performance profiling or optimizing especially when using lumen feature. Thank you so much!
I'll definitely be planning it, it's an interesting topic for me as well 😊
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
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 🙏
Can you make a map tutorial with automatic widget switchers in the world that activate when in doors?
What do you mean by automatic widget switchers?
@@AliElZoheiry I mean when going inside a building or a cave the map texture switches accordingly !
Ahh ok, I understand now 👍
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?
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
@@AliElZoheiry You awesome person in this world. You really very good person.
Thank you so much
及时雨。 Teach a man to fish.
Hahaha indeed, that's what I aim to do :D