Ben_93 Posted October 21, 2022 Share Posted October 21, 2022 Hi Everyone, The 2.16 update looks really really great, however upon upgrading my existing 2.15.1 project to 2.16 using the new SDK browser 2 the build fails at runtime. Find attached a screenshot of the console. I hope this is an easy fix! Many thanks, Ben Link to comment
silent Posted October 21, 2022 Share Posted October 21, 2022 Hi Ben, Yes, API changed a bit between 2.15.1 and 2.16, so you need to update your code manually. This error is quite easy to fix, just replace AppEditorLogic.Render() with AppEditorLogic.Render(EngineWindow window). We also do recommend to download and install the latest version (2.16.0.1 hotfix release) to avoid some nasty bugs with Editor physics simulation. Thanks! 1 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
Ben_93 Posted October 21, 2022 Author Share Posted October 21, 2022 Hi Silent, Thanks for getting back to me, Again - I am a big noob with anything coding related so will need a bit more guidance - where do I find the code I need to replace AppEditorLogic.Render() with Render(EngineWindow window) ? Ben Link to comment
silent Posted October 21, 2022 Share Posted October 21, 2022 Full filepath is already printed in the error message :) 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
Ben_93 Posted October 21, 2022 Author Share Posted October 21, 2022 Looking at the filepath it seems like its the AppEditorLogic.cs script I need to replace the code in. However I cannot find AppEditorLogic.Render(). Here is a screenshot of the script, I would appreciate if you could tell me where I need to replace. Many thanks, Ben Link to comment
silent Posted October 21, 2022 Share Posted October 21, 2022 Line 35: Render -> Render(EngineWindow window) 1 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
Ben_93 Posted October 22, 2022 Author Share Posted October 22, 2022 Perfect, thanks Silent - all resolved and working as expected now. I also had to replace the first person controller with one from a 2.16 project file to get it working. Many thanks, Ben 1 Link to comment
Recommended Posts