Closed marchc1 closed 8 months ago
I finally have a way to replicate this:
Specifically, I crash when only having data/trackassembly/dsv/plarailtrackassembly_pieces.txt present, along with data/trackassembly/set/trackasmlib_dsv.txt
I think I've isolated the issue down to ents.CreateClientProp, because a simple
local c_Model = ents.CreateClientProp("models/this/isnt/going/to/load.mdl")
causes a crash.
On the NONE branch, this happens instead
Seems to be purely an issue with x86-64, as both 32-bit and 64-bit will crash
For some reason, running ClientsideModel on an invalid path not only doesnt crash, but also causes ents.CreateClientProp calls with invalid paths to stop crashing as well?
Couple of other things to note, just summarizing from the development chat:
local c_Model = ents.CreateClientProp("models/error.mdl")
does not cause a crash, but does not stop crashes from occuring later with invalid model paths to this functionC_PhysPropClientside::Initialize: PhysModelParseSolid failed for model 'models/props_lab/corkboard002.mdl' @ index 409.
. It should be fixed now, thanks for all the details & work you did there.
Optimized on my side also @marchc1 https://github.com/dvdvideo1234/TrackAssemblyTool/commit/f42bdcfde3a7b8a843b1e4a4deea9660a0a1103c
Details
Lua trace from one of the crashes:
I currently don't have a solid way to reproduce the problem and am using this to store the information somewhere organized. I'll update it as I get more info