Ogre Version: 1.12.13 - 14.1.2
Operating System: Windows 10
Render System: Direct3D9
Hello!
I have been having many warnings in my Ogre log file in debug (not in release) regarding corrupted chunks for all my meshes that use vertex animation (exported from Maya).
It happens for 14.1.2 as well as the older version that I am using, so it seems to have been around for some time.
I am not sure if it has something to do with the Maya exporter or if this is an Ogre bug.
In Serializer::readChunk (OgreSerializer.cpp), it detects many corrupted chunks and outputs it to the Ogre log.
For my object it outputs the warning 90 times to the Ogre log (one for each keyframe it seems).
I can also reproduce it with these simple steps:
- Open Maya
- Create a plane or a box mesh (any mesh get the same problem)
- Go into nDynamics and create an nCloth on the mesh
- Go into the Ogre Exporter
- Change Animation Type to Vertex
- Enable Vertex Animations
- Set start time and end time to 1 and 24.
- Export
- Start Ogre in debug
- Load the mesh and the corrupted chunks warnings will appear (you can also set a breakpoint in Serializer::readChunk)
For both a plane and a box it gets 23 warnings, which is about one warning per keyframe (1-24).
I have also uploaded the very small plane.mesh file exported from Maya here: https://drive.google.com/file/d/1jw1BZP ... drive_link
In MeshSerializerImpl::readAnimationTrack it first goes into readMorphKeyFrame and then it runs "streamID = readChunk(stream);" which always shows the warning message.
How do I solve this?
Is it something that needs solving? If I just run in release no warnings appear, but I am afraid that it corrupts my applications memory or something since I don't really know what is wrong here.