Jump to content
bandrewk

Loading Prefab: Access violation nullptr

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

Share this post


Link to post

Is that the right path? to it shouldn't it be "Prefabs/asd.pfb" or whatever your folder you have it in (if you have it in a folder)?

 

Cheers

Share this post


Link to post
Guest
This topic is now closed to further replies.
×
×
  • Create New...