Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  NullReferenceException in ObiRopeCursor (build)
#1
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

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
Reply


Messages In This Thread
NullReferenceException in ObiRopeCursor (build) - by natko1412 - 11-05-2023, 10:54 AM