11-05-2023, 10:54 AM
Hi,
I am changing rope length in OnBlueprintLoaded callback. This works well in Editor, but in build I get
NullReferenceException in ObiRopeCursor script, line 131
I guess that the rope reference in cursor is somehow null. How can this happen if it worked fine in Editor?
Thanks in advance for help
I am changing rope length in OnBlueprintLoaded callback. This works well in Editor, but in build I get
NullReferenceException in ObiRopeCursor script, line 131
Code:
NullReferenceException: Object reference not set to an instance of an object
at Obi.ObiRopeCursor.ChangeLength (System.Single newLength) [0x00001]
in C:\myProject\Assets\Obi\Scripts\RopeAndRod\Actors\ObiRopeCursor.cs:131
I guess that the rope reference in cursor is somehow null. How can this happen if it worked fine in Editor?
Thanks in advance for help