Quantcast
Channel: Questions in topic: "crash"
Viewing all articles
Browse latest Browse all 2383

Editor freezes after 'killing' an enemy but not every time

$
0
0
I receive 0 errors before the editor freezes. Previously I thought the issue was that I changed the enemies List during runtime (which gave errors) because of how I was planning on handling enemy respawns, however I nolonger remove the enemy from that list nor destroy the enemyObject nor make any changes to it after spawning all enemies and adding them to the list. [SkeletonController][1] script, [HostileHealth][2] script, [DropReward][3] script, and [RewardPopup][4] script (Hastebin hyperlinks) please let me know if there's another script you see referenced that may be relevant to finding the solution. Thank you for your time! I should also note that I'm using Unity 2020.3.3f1 [1]: https://www.toptal.com/developers/hastebin/noyefixolo.csharp [2]: https://www.toptal.com/developers/hastebin/zeyaxokuxe.cpp [3]: https://www.toptal.com/developers/hastebin/wekelatago.csharp [4]: https://www.toptal.com/developers/hastebin/ulolohegug.cpp

Viewing all articles
Browse latest Browse all 2383

Trending Articles