cinetec_tech Posted September 11, 2014 Share Posted September 11, 2014 hi: we have running debug version without any problem. but when build release version, the engine crash. we use visual studio 2010 to build the x64 release /debug version. in the release build, the plugin could load and initialize. but when use unigine script to create . this error happen Unhandled exception at 0x0000000300905a4d in main_x64.exe: 0xC0000005: Access violation at location 0x0000000300905a4d. what could help us is ,could you test and send us a working x64 release plugin sample with visualstudio vcxproj file? thanks Link to comment
silent Posted September 12, 2014 Share Posted September 12, 2014 Hi, Sorry, can't reproduce such behavior. Please, make sure that you are launching debug plugin version with debug engine binary and release plugin version with release engine binaries. Also, you can check attached vcxproj files (unpack it to <SDK>/source/samples/Api/Systems/Plugins). You can select in Visual Studio configuration for Release-x64 and try to build. Thanks! Plugins.zip 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
cinetec_tech Posted September 12, 2014 Author Share Posted September 12, 2014 hi Silent: I still have the crash for release using your vcxproj. could you send the whole project including the cpps so i could try compile your plugin. thanks Link to comment
silent Posted September 15, 2014 Share Posted September 15, 2014 Hi, In attachement you can find whole Plugins directory from <SDK>/source/samples/Api/Systems directory. Steps needed to build Double Release x64 plugin and binary executable: Extract contents of Plugins.zip into <SDK>/source/samples/Api/Systems directiry; Open <SDK>/source/samples/Api/Systems/Plugins/plugin/plugin.vcxproj in Visual studio; Select Release-Double in Solution Configurations list; Select x64 in Solution Platforms; Press F7 to build; Open <SDK>/source/samples/Api/Systems/Plugins/Plugins.vcxproj in Visual Studio; Select Release-Double in Solution Configurations list; Select x64 in Solution Platforms; Press F5 to build and run Release engine with release plugin. Please, make sure that you don't have any other SDKs in system PATH variable, that can affect on engine behavior. Thanks! Plugins.zip 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
Recommended Posts