Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading game after start new game from menu make editor crash #116

Open
Rcurreli opened this issue Feb 1, 2025 · 0 comments
Open

Loading game after start new game from menu make editor crash #116

Rcurreli opened this issue Feb 1, 2025 · 0 comments

Comments

@Rcurreli
Copy link
Contributor

Rcurreli commented Feb 1, 2025

Hi, I'm experiencing a crash in the editor that might be related to other issues. This happens ONLY in the editor under specific conditions:

1)Start a new game from the menu map (using afterlevelload)
2)Save the game at the start of the main map
3)Load the saved game (which loads the main map again)

After SPUD calls WorldPackage = LoadPackage(nullptr, *LevelName, LOAD_None); at line 566 in SpudSubsystem.cpp, the game crashes every time with the following assertion failure:

Assertion failed: ActiveDataLayerNames.IsEmpty() && LoadedDataLayerNames.IsEmpty() [File:D:\build++UE5\Sync\Engine\Source\Runtime\Engine\Private\WorldPartition\DataLayer\WorldDataLayers.cpp] [Line: 165]

The crash occurs only after starting a new game from the menu map.
If I start directly from the main map or load a previous save directly from the menu map, it works fine.
Also starting a new game from the main map (making play from here) and then loading works without issues.

When starting the new map, I noticed some data layers are activated momentarily before they are unloaded and the game starts normally. All data layers have their start runtime state set to unload, even in the editor. I don t know if could be this the cause, of course not happening in shipping build.

This issue is not blocking, but understanding the cause would help in testing the normal use case in the editor.

@Rcurreli Rcurreli changed the title Load Game Crash Crash in Editor When Loading Game After Starting New Game from Main Menu Feb 1, 2025
@Rcurreli Rcurreli changed the title Crash in Editor When Loading Game After Starting New Game from Main Menu Loading game after start new game from menu make editor crash Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant