Jump to content

Loading Prefab: Access violation nullptr


bandrewk
 Share

Recommended Posts

Hello,

 

is it just me or are prefabs broken inside Leadwerks 3.0 ? I am not able to create any prefab that does not crash the editor and my application. My application will crash with the following error:

 

Unhandled exception at 0x0136F8FA in Client.debug.exe: 0xC0000005: Access violation reading location 0x00000000.

 

The exception is thrown inside Prefab::Load():

Entity* entity = Prefab::Load("asd.pfb");

 

The Leadwerks editor crashes as soon as trying to open the prefab with ACCESS_VIOLATION.

 

The documentation seems to be wrong too for the prefab class. I have not been able to find the "static const int NoStartCall" member inside it.

 

I attached a prefab that is causing the error stated above.

 

Thank you.

asd.zip

Link to comment
Share on other sites

  • 5 years later...
  • Josh locked this topic
Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...