Editor stops loading at 73% after Cast to GameMode

Hi.

Every time I set Cast to my_GameMode blueprint in any blueprint, editor stops loading after restart at 73%. Code works like it should but I can not restart editor with it. My version is 4.14.0.

Strange, isn’t it?

Nearby that loading percentage the game instance starts. Sometimes when your app crashes it don’t cause an exception and just hangs up. You can try to launch a debug session (debug with editor) to figure out what exactly is happening.

Hey Waw K.

Are you using a code or blueprint project? If you’re using a code project, please run the project from Visual Studio in debug mode and let us know where it breaks. If possible, can you provide the setup or a screenshot of your blueprint?

Hey Waw K-

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will follow up.

Cheers

i have the same issue UE4.15

Hey FERALINK101-

Can you provide the details about your project? Specifically, can you provide answers to the question above?

It really takes me long time to realize that it was the problem, it’s too weird because i have used this cast a lot. The project has VS files but all is programmed in blueprints, i mean , there is just one c++ class called VRGameModeBase derived from Gamemode and i don’t used it in the project. When i realized than the cast was the problem i tried to use the cast in the begin play but when i do that and re-open the project the editor crash. The cast is used in a NPC derived from Character. I solve the problem deleting the cast and making the same in another way. I hope the information was useful. … sorry for my poor english. I don’t know if matters but i’m using this plugins in the project. AdvancedSessions, DialoguePlugin, VRExpansionPlugin.alt text

Had the exact same problem today, in UE 4.18.3
When I try to cast the value returned from the blueprint node “Get Game Mode” to my custom game mode the unreal project becomes unloadable.

Worked around it by letting my game mode implement an interface and walk around the cast, but it took me quite a while to figure out why the project is not starting anymore.

The project is a code project and the game mode we are using is an implementation of the base c++ game mode created for it.

e.g.: MyProjectGameMode(C++) → DefaultMyProjectGameMode(Blueprint)

I have the same problem, after my project break alone. I finished by the task manager and then it now open again. In the first time I fix it swotch the editor from 4.19.2 to 4.20 but now I don’t have anymore option to switch.
Switching to a lower version don’t works.

I have the same problem, after my project break alone. I finished by the task manager and then it now open again. In the first time I fix it swotch the editor from 4.19.2 to 4.20 but now I don’t have anymore option to switch.
Switching to a lower version don’t works.

This problem is cited as resolved in the following post.