0
Cannot Reproduce

NullReferenceException

James A 2 years ago updated by Lazlo Bonin (Lead Developer) 2 years ago 3

Hi, i'm getting this error when playing my scene. It looks like it is referencing an external location. Is this a bug or something I am overlooking?

NullReferenceException: Object reference not set to an instance of an object
Bolt.SuperUnit+<>c__DisplayClass4_0.<Definition>b__2 (Bolt.Flow flow) (at C:/Users/Lazlo/Projects/Ludiq/Bolt.Flow/Runtime/Flow/SuperUnit.cs:43)
Bolt.ControlInput.Trigger (Bolt.Flow flow) (at C:/Users/Lazlo/Projects/Ludiq/Bolt.Flow/Runtime/Flow/Ports/ControlInput.cs:78)

Thanks

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

I think  I may have seen that before. Did you try to run the scene while Bolt was in the middle of caching? I have had odd intermittent issues when doing different things while it caches. Try running set up again then let the initial caching complete. 

Pending Review

Hi James,

I need more information about the issue, because this stack trace doesn't tell me much.

What graph is this coming from? What are you trying to do? I understand there's a super unit involved, but I'm not sure how.