Lately I’ve been having trouble with the following issue:
UE-3480 Launching a project with a
custom Game Instance assigned will
receive an error and crash the
I’ve come to learn that this issue was apparently fixed back in preview 5, however I’ve been experiencing it consistently throughout 4.7. When I launch my project without the GameInstance file in the Content folder, the project launches fine (aside from the “Can’t find file for asset” messages).
It’s pretty puzzling. Does anyone else have any experience with this issue, or any insight?
The JIRA you mentioned was for a crash that occurred if you created a new GameInstance & add it to the project > then pressed Launch. I just attempted to reproduce this in 4.7. Preview 8 but so far I haven’t been able to. What steps are you using?
Ah, so it appears to be a separate issue. The problem I have occurs when converting an existing 4.6.1 project up to 4.7. When that project has a custom GameInstance file assigned, the editor crashes on launch (by which I mean on opening the project, not running the game).
Sorry for any confusion; I assumed from the bug description that this was the same issue!
I tried creating a new 4.6.1 project > create & add a new Game Instance > then convert it to 4.7 Preview 8. So far it is working correctly for me. Do you have a small test project that you can upload that has the issue?
I got it working. The problem seemed to be with that particular GameInstance file. For reasons I can’t understand, the project works fine now that I’ve rebuilt that file from scratch and used that instead.