bandrewk 92 Posted January 30, 2014 Share Posted January 30, 2014 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 post Share on other sites
tjheldna 389 Posted January 31, 2014 Share Posted January 31, 2014 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 Link to post Share on other sites
cassius 211 Posted January 31, 2014 Share Posted January 31, 2014 prefabs broken in 3.0 or for me they are. Link to post Share on other sites
tjheldna 389 Posted January 31, 2014 Share Posted January 31, 2014 Oh yeah, 3.0... yes prefabs aren't working, we will have to wait. It has been reported. Link to post Share on other sites
bandrewk 92 Posted February 1, 2014 Author Share Posted February 1, 2014 Seems like I forgot to upload the prefab. It is now included in the original post. Link to post Share on other sites
Josh 10,028 Posted February 27, 2019 Share Posted February 27, 2019 Works fine in 4.6! Link to post Share on other sites
Recommended Posts