Unreal Engine : Failed to initialize Project Model
Jetbrains Rider keeps giving me this error message when opening a C++ file using Rider for Unreal Engine, inside of Unreal Engine...
"Unreal Engine: Failed to initialize project model for "Configuration: Development Editor, Platform: Win64""
I am uncertain how to resolve this and it provides no additional information. Any suggestions?
Please sign in to leave a comment.
Hello Teriander,
This message indicates that Rider for Unreal Engine was unable to fetch the project properties from UnrealBuildTool.
It can happen if UnrealBuildTool didn't generate JSON files associated with the project model, but it didn't throw an error as well. You can check the "UnrealBuildTool" window in Rider to check if this is the case. Usually, when UBT generates the JSONs, you can find the log messages that might look like this :
Written <project_path>\Intermediate\TargetInfo.Game.json
Written <project_path>\Intermediate\TargetInfo.Engine.json
Unsure whether this is the best place, but as of late, I'm running each time onto this issue. I use MSVS 17.7.6 and Resharper Build 232.0.20230919.80758. The mentioned JSON files are generated, but there is this error notification on each opening of the Solution file. It does looks everything works though.
Hello ryobg,
Would you mind opening an issue using Help→Report a Bug and attaching your Rider logs when prompted?
In addition to the logs, please mention your UE version in the issue description. For example, UE 5.3.1 from Epic Games Launcher or a source version built from ue5_main (with commit ID).