The Power of EXPERIENCE! (Recognizing a past issue and fixing it quickly)

Channel:
Subscribers:
566,000
Published on ● Video Link: https://www.youtube.com/watch?v=hVe2DzztqTo



Category:
Tutorial
Duration: 1:55
19,198 views
1,315


โœ… Quick example from my livestream on the power of experience
๐Ÿ”ด Livestream video: https://www.youtube.com/watch?v=na7bu_9Iv_4
๐Ÿ’ฌ If you want to know when I go live hit the bell icon or sign up on the website
๐ŸŒ Get my Complete Courses! โœ… https://unitycodemonkey.com/courses
๐Ÿ‘ Learn to make awesome games step-by-step from start to finish.
๐ŸŽฎ Get my Steam Games https://unitycodemonkey.com/gamebundle

๐Ÿ”ด RELATED VIDEOS ๐Ÿ”ด
Continuing to Make a Spaceship System and Q&A - LIVE! https://www.youtube.com/watch?v=na7bu_9Iv_4

๐Ÿ’ฌ During the livestream I was having an issue where a child object wasn't being destroyed.
After thinking about it for a while, I remembered having this exact same issue at one point in the past.
The problem is when you call Destroy(gameObject); Unity doesn't immediately destroy the object, if you check the parent.childCount it is still exactly the same after calling Destroy();
Unity only actually destroys the object and updates the hierarchy on the end of the frame.
One solution is to manually unparent the object which happens instantly.
This is a great example of the power of experience, since I had encountered this exact issue in the past it only took me a few minutes to fix it compared to the first time I had this issue where it took me hours.

๐ŸŒ Get Code Monkey on Steam!
๐Ÿ‘ Interactive Tutorials, Complete Games and More!
โœ… https://store.steampowered.com/app/1294220/

If you have any questions post them in the comments and I'll do my best to answer them.

๐Ÿ”” Subscribe for more Unity Tutorials https://www.youtube.com/channel/UCFK6NCbuCIVzA6Yj1G_ZqCg?sub_confirmation=1

See you next time!

๐Ÿ“ Support on Patreon https://www.patreon.com/unitycodemonkey
๐ŸŽฎ Grab the Game Bundle at https://unitycodemonkey.com/gameBundle.php
๐Ÿ“ Get the Code Monkey Utilities at https://unitycodemonkey.com/utils.php

#unitytutorial #unity3d #gamedev

--------------------------------------------------------------------
Hello and Welcome!
I'm your Code Monkey and here you will learn everything about Game Development in Unity using C#.

I've been developing games for several years with 8 published games on Steam and now I'm sharing my knowledge to help you on your own game development journey.

I do Unity Tutorials on just about every topic, Unity Tutorials for Beginners and Unity Tutorials for Advanced users.

You can see my games at www.endlessloopstudios.com
--------------------------------------------------------------------
- Other great Unity channels:
Unity - https://www.youtube.com/user/Unity3D
Brackeys - https://www.youtube.com/user/Brackeys
Dani - https://www.youtube.com/channel/UCIabPXjvT5BVTxRDPCBBOOQ
Jabrils - https://www.youtube.com/channel/UCQALLeQPoZdZC4JNUboVEUg
BlackthornProd - https://www.youtube.com/channel/UC9Z1XWw1kmnvOOFsj6Bzy2g
Sykoo - https://www.youtube.com/user/SykooTV
Jason Weimann - https://www.youtube.com/channel/UCX_b3NNQN5bzExm-22-NVVg
Jonas Tyroller - https://www.youtube.com/channel/UC_p_9arduPuxM8DHTGIuSOg
--------------------------------------------------------------------
- Website: https://unitycodemonkey.com/
- Twitter: https://twitter.com/UnityCodeMonkey
- Steam: https://store.steampowered.com/developer/EndlessLoopStudios




Other Videos By Code Monkey


2022-02-26Simple Framerate FPS Counter in 30 SECONDS!
2022-02-24TOP 10 NEW Systems and Tools FEBRUARY 2022! | Unity Asset Store
2022-02-21Unity Spaceship Building Tutorial - Drag Drop Thruster, Shield, Laser (FREE Download Project Files)
2022-02-18INSANE Bundle 96% OFF on THOUSANDS of Low Poly Synty Studios Assets!
2022-02-17TOP 10 GAMES #madewithunity Not for Broadcast, Zenith, Pupperazi (JANUARY 2022)
2022-02-14Should you use Assets? Is it cheating? Asset flip?
2022-02-12Learn Unity, Blender and Programming Patterns!
2022-02-10TOP 10 FREE NEW Assets FEBRUARY 2022! | Unity Asset Store
2022-02-07Make Animations WITHOUT making Animations! (Grab Items, Carry Objects, Do Anything, IK)
2022-02-05TOP 20 Animations, VFX, Models JANUARY 2022! | Unity Asset Store
2022-02-02The Power of EXPERIENCE! (Recognizing a past issue and fixing it quickly)
2022-01-31Does a GOOD Game sell itself?
2022-01-29TOP 10 NEW Systems and Tools JANUARY 2022! | Unity Asset Store
2022-01-26PERFECT Weapon Aiming! (IK, Unity Tutorial Third Person Shooter)
2022-01-24BEST Unity Tutorials of 2021! (150+ Videos/Tutorials)
2022-01-22TOP 10 GAMES GTFO, Fights in Tight Spaces, Kubifactorium #madewithunity (DECEMBER 2021)
2022-01-20Why I hate strings...
2022-01-17The MOST IMPORTANT Skill to be a Successful Game Developer! (How to go Full Time Game Dev on Steam)
2022-01-14TOP 10 FREE NEW Assets JANUARY 2022! | Unity Asset Store
2022-01-10What Learning Blender in 10 HOURS looks like!
2022-01-07TOP 20 Animations, VFX, Models DECEMBER 2021! | Unity Asset Store



Tags:
programming experience
coding experience
programming debugging
coding debugging
unity debug
code monkey
unity tutorial
experience
debugging
unity game tutorial
unity tutorial for beginners
unity 2d tutorial
unity 3d
unity
game design
game development
game dev
game development unity
unity 2d
unity 3d tutorial
programming
coding
c#
code
software development
learn to code
learn programming
unity tutorials
how to make a game