CollisionNode::add_solid, assertion fails whenever called
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Panda3D |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Tested on Panda3D 1.9.0 on Windows i386, with two builds from the buildbot (54 and 111) and a custom build, on a Windows 8 64bit. Everything is on Release mode.
Whenever the CollisionNode:
Invalid TypeHandle index 1234567! Is memory corrupt?
Assertion failed: rnode != (TypeRegistryNode *)NULL, file c:\buildslave\
The issue can be reproduced using the main.cpp file that I will add as an attachment to this report.
As in turned out, in some cases (my program is much bigger than the attachment), the assertion doesn't fail and the program doesn't crash, however the solid hasn't been added to the CollisionNode.
Which MSVC versions? And does it work if you keep a reference to the CollisionSolid object yourself? On which line does it crash?
I've never seen a TypeHandle index like 1234567 before. That does not sound like a random number.