Jump to content

C# Third person sample no longer runs after upgrading from 2.20 to 2.21


photo
Go to solution Solved by silent,

Recommended Posts

Posted (edited)

After installing the newest SDK, I upgraded the third person sample to 2.21.  It ran fine before, but now when I press the RUN button for the project from the SDK browser, it loads for a quick second and nothing happens.  

When I load the world in the editor, there's no play button.  So there's no way to run the game anymore.

Edited by webnetweaver
  • webnetweaver changed the title to C# Third person sample no longer runs after upgrading from 2.20 to 2.21
  • Solution
Posted

webnetweaver

There is no automatic code migration for any projects or demos that were copied as projects, so you have to manually fix the compilation issues according to the migration guide: https://developer.unigine.com/en/docs/latest/upgrade/migration_api?implementationLanguage=cs&precision=f

Also there is a hotifx2 planned for the late April release where some issues with C# projects migration would be addressed (including the issue when no .csproj migration occur if there is a space in the path).

Thank you!

 

  • Like 1

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Posted
5 hours ago, silent said:

webnetweaver

There is no automatic code migration for any projects or demos that were copied as projects, so you have to manually fix the compilation issues according to the migration guide: https://developer.unigine.com/en/docs/latest/upgrade/migration_api?implementationLanguage=cs&precision=f

Also there is a hotifx2 planned for the late April release where some issues with C# projects migration would be addressed (including the issue when no .csproj migration occur if there is a space in the path).

Thank you!

 

Thanks for the explanation.  I didnt add any custom code to the third person example so I just deleted and reinstalled it as 2.21.  Works fine again. 

I would suggest a warning message before copying as project indicating that automatic code migration to a newer version will no longer work.

  • Thanks 1
×
×
  • Create New...