honya Posted June 16, 2018 Share Posted June 16, 2018 Hi, when i try create static mesh from skinned mesh via Unigine::Utils::convertNodesToMesh, then it throw exception< Exception thrown at 0x00007FFB5318A5C7 (Unigine_double_x64d.dll) in convert_mesh_x64d.exe: 0xC0000005: Access violation reading location 0x0000000000000028. Unigine_double_x64d.dll!MeshSkinned::getMeshSurface(Mesh & mesh, int surface, int target) Line 791 C++ Unigine_double_x64d.dll!Utils::convertNodesToMesh(Mesh & out, const Unigine::Vector<Node *,int,Unigine::VectorAllocator> & nodes) Line 115 C++ Unigine_double_x64d.dll!Unigine::Utils::convertNodesToMesh(Unigine::Ptr<Unigine::Mesh> & out, const Unigine::Vector<Unigine::Ptr<Unigine::Node>,int,Unigine::VectorAllocator> & nodes) Line 18 C++ > convert_mesh_x64d.exe!AppWorldLogic::update() Line 36 C++ Unigine_double_x64d.dll!EngineCallbacks::worldUpdate() Line 82 C++ Unigine_double_x64d.dll!World::update() Line 767 C++ Unigine_double_x64d.dll!Engine::do_update() Line 2737 C++ Unigine_double_x64d.dll!App::update() Line 400 C++ Unigine_double_x64d.dll!AppWindow::doUpdate() Line 1422 C++ Unigine_double_x64d.dll!Engine::main(Unigine::SystemLogic * system_logic, Unigine::WorldLogic * world_logic, Unigine::EditorLogic * editor_logic) Line 3231 C++ convert_mesh_x64d.exe!wmain(int argc, wchar_t * * argv) Line 38 C++ Test scene for C++, double precision, 64bit project -> convert_mesh.rar. Run it and push 'l' button. Honya Link to comment
silent Posted June 18, 2018 Share Posted June 18, 2018 Honya, It seems that in AppWorldLogic.cpp:32 instead of: Unigine::MeshPtr meshTemp; //container created, but object is not there should be: Unigine::MeshPtr meshTemp = Unigine::Mesh::create(); That's required because results of operations should be stored somewhere. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
honya Posted June 18, 2018 Author Share Posted June 18, 2018 Hi, that it was. Thanks silent. Link to comment
Recommended Posts