Crash with model loadResource on Windows
num3ric opened this issue · comments
Éric Renaud-Houde commented
If a SkinnedVboMesh is created with loadResource(), the resource filepath passed to Assimp only works when the app is launched via Visual Studio. Launching the .exe manually causes a crash.
I should use the following logic instead:
https://github.com/richardeakin/Cinder-Audio2/blob/master/src/cinder/audio2/FileOggVorbis.cpp#L70
Éric Renaud-Houde commented
Reviewing this: loading resources on Windows isn't really possible with Assimp since asset loading still rely on paths, even when extending its filesystem implementation (http://assimp.sourceforge.net/lib_html/usage.html).