Why the GameProcess crached by some exceptions #1795
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
I am very confused because I have never encountered a crash in the game process when writing in Unity before. Such a crash is obviously inconsistent with my experience. |
Beta Was this translation helpful? Give feedback.
-
I have determined that the error is reported because Prefab cannot be serialized, and because I have used DisplayAttribute, this is the real cause of the crash. I still don't know why this Prefab cannot be loaded. |
Beta Was this translation helpful? Give feedback.
-
Doesn't look like you pushed to the repo, can you try that again ? |
Beta Was this translation helpful? Give feedback.
You just have to add
<PackageReference Include="Stride.Physics" Version="4.1.0.1" />
to yourGameMenu.Game.csproj
below the otherPackageReference
.I'll add a check in the engine to avoid those kinds of issues in the future.