Taml Troubles
by Alex Poli · in Torque 2D Beginner · 11/21/2013 (10:37 pm) · 1 replies
Hey guys, I have continued work on my level streaming script, but have encountered another roadblock. I have been saving the level files in the .taml format, but recently wanted to start using the .baml format for the smaller file sizes and faster processing. When I switched over, the game started crashing at startup and giving console messages like:
Taml: Could not find a reference Id of '858665778'
To address this I tried updating and recompiling the engine (both master and development branches) as well as running the game in debug mode. When I ran it in debug mode it gave me the following:
Namespace::unlinkClass - reference count to parent is less than 0
When I enabled the trace it appeared to be crashing when it tried to read the binary file.
Does anyone know why this would be happening for binary files and not taml files, or ways of figuring out what's wrong?
If it would be helpful to see snippets of code let me know.
Thanks!
Taml: Could not find a reference Id of '858665778'
To address this I tried updating and recompiling the engine (both master and development branches) as well as running the game in debug mode. When I ran it in debug mode it gave me the following:
Namespace::unlinkClass - reference count to parent is less than 0
When I enabled the trace it appeared to be crashing when it tried to read the binary file.
Does anyone know why this would be happening for binary files and not taml files, or ways of figuring out what's wrong?
If it would be helpful to see snippets of code let me know.
Thanks!
Torque Owner Richard Ranft
Roostertail Games