My project cannot be opened, hello, I used Cesuim to make the project for a month suddenly cannot be opened

My project cannot be opened, hello, I used Cesuim to make the project for a month suddenly cannot be opened, may I ask how to solve it? I use ue 5.2

Hi @i.love.music.dehehe,

Sorry that you’re experiencing trouble. Can you provide us with the following details so we can troubleshoot?

  • What version of Cesium for Unreal are you currently trying to use?
  • What version of Cesium for Unreal do you remember using? If you can’t remember, please tell us the last date that it was working, as accurately as possible.
  • Were you using any other plugins in your project?

@i.love.music.dehehe We’ll still need more information to be able to reproduce this bug and say for sure why it’s happening, but for the time being we’ve opened a fix for what might be the issue on GitHub here. If you get a chance to try it out, let us know if it fixes your issue! And whether or not it does, any additional information you’re able to provide will help us to tell if this bug is a result of a larger issue that we need to look into.

I use ue 5.2

LoginId:3176c5b24a28de18fb5aad8216a6818f
EpicAccountId:8dd87a76ee314cfb83a5435130d38e37

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000040

UnrealEditor_CesiumRuntime!ACesiumSunSky::UpdateAtmosphereRadius() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumSunSky.cpp:505]
UnrealEditor_CesiumRuntime!ACesiumSunSky::Tick() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumSunSky.cpp:256]
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll

Ashley Rogers via Cesium Community <notifications@cesium.discoursemail.com> 于2024年2月2日周五 00:40写道:

Hello?

-…- <i.love.music.dehehe@gmail.com> 于2024年2月4日周日 15:09写道:

Hi @i.love.music.dehehe,

You may have missed my previous response. These are the details we’d appreciate you providing:

  • What version of Cesium for Unreal are you currently trying to use?
  • What version of Cesium for Unreal do you remember using? If you can’t remember, please tell us the last date that it was working, as accurately as possible.
  • Were you using any other plugins in your project?

And as Ashley posted, we did provide an initial fix that you’re welcome to try out from Github. If you’re able to try it out, it’d be great to know whether it solves your problem.

@i.love.music.dehehe

This error occurs when the application is executed as a “Standalone Game” in Unreal with the green play button. You must switch to “Selected Viewport” using the Play Mode menu (three overlapping dots to the right).

Hi @L_N,

When you left this response, were you experiencing the crash yourself? If so, are you able to reproduce it now? I tried the following:

  • Create a new project in UE 5.2
  • Create a blank new level
  • Add CesiumSunSky
  • Add a blank cube to the scene (just to see something render)
  • Switch to “Standalone Game”
  • Hit Play

When I follow this process, it works fine for me, no crash. I’m really trying to reproduce the crash on my machine so we can diagnose it, but no luck. :frowning: