Missing event call in editor (UCC 3)

zented

Member
Hello, when the character dies, I see that OnEquipItem and OnDeath get both called in that order: OnEquipItem -> OnDeath -> OnEquipItem. This works like this in the demo scene (in editor and in build).

In my game, these get called in build: OnEquipItem -> OnDeath -> OnEquipItem and these get called in editor: OnDeath -> OnEquipItem.

Any idea what could cause OnEquipItem not being called before OnDeath in editor?

I run Unity 2021.3.20f1 and UCC 3.0.8.
 
I'm not sure, but you could place a breakpoint within the first OnEquipItem to look at the call stack and then compare that to the call stack when it does not get called in your project.
 
Top