+2
Fixed

Custom Event Bugs

NeedsLoomis 3 years ago updated by Lazlo Bonin (Lead Developer) 3 years ago 4

Having an issue where some of my events will fire once, then never again.

I tried a workaround in which I used the update loop to fire them until they work, and discovered that if you attach an update and an on enter, the state can fire them off forever, even after it has transitioned.


Here are two simple unity scenes that demonstrate, one for each bug.

https://www.dropbox.com/sh/3f0sfptmtzlj2zy/AADpUz3zj5o_A-rnOh3fPD8Ha?dl=0

Bolt Version:
Unity Version:
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):
Pending Review

Hmm, odd! Did you notice if this only started happening after v.1.0.3?

I'll have a look and get that fixed for v.1.0.4.

feel like everything was working better before, but I cant remember :(  

Fixed in Alpha

I think this was fixed as a side-effect of #334.

Can't reproduce it on my latest build. 

In  example 1, the states keep alternating.

In example 2, the "Broken State" is only entered once.

Let me know if you still encounter this issue after v.1.0.4 has been released.