renato.semadeni Posted May 9, 2016 Posted May 9, 2016 Hi there I have some test project, where I'm primarily coding in C++. This works and I can launch the application through the exe I'm compiling. But as soon as I just save the world in the editor I can't launch the application from the executable anymore, it just remains a black screen. Only through the browser clicking on the run button i can see the demo scenery. What does change with the save in the editor, what change the launch of the exe? I'm not changing anything in the world just click save world. Kind regards, Renato
silent Posted May 10, 2016 Posted May 10, 2016 Hi Renato, Just tried to do the same thing with the latest 2.2.1 SDK under the Windows platform with a newly generated project and it seems that I can't reproduce such behavior. Could you please give us detailed step-by-step guide how to reproduce it?Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
renato.semadeni Posted May 10, 2016 Author Posted May 10, 2016 Hey Andrey Hope you're well! Listen, I'm doing the following: create new project (test) in the browser open the vs2013 project insert a log message to the console, e.g. in the update method of AppWorldLogic.cpp compile it (64bit) launch the test.exe it is working as expected close the vs2013 project open the editor from the unigine browser ctrl+s to save the world exit the world launch the test.exe shows only a black screen Kind regards, Renato
silent Posted May 10, 2016 Posted May 10, 2016 Hi Renato, More likely that happens because of the missing startup arguments. You can open console and execute command world_load <your_world_name> and everything will work just fine. What you can use: Launch you project via Visual Studio (F5); Use the *.bat files in the root directory of the project; Embed engine startup options into the binary. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
renato.semadeni Posted May 10, 2016 Author Posted May 10, 2016 Hi Andrey I see I see. In our current implementation we are using the embedded engine startup. But just for my understanding, where did you configure that the launch via vstudio (F5) works? It has to load the world as well, right? The *.bat file doesn't work either after saving the world. Must also be something with the arguments, I suppose.. Kind regards, Renato
silent Posted May 10, 2016 Posted May 10, 2016 Hi Renato, You can check startup arguments for project inside Visual Studio: Project -> <Project> Properties... -> Configuration Properties -> Debugging -> Command Arguments. Unfortunately, it seems that I can't reproduce this issue on my side - everything is working fine here. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Recommended Posts