crash on loading a save with animals #5051
Labels
Blocker
Issue reporting or PR addressing a critical problem that blocks other efforts
Category: Crash
Requests, Issues and Changes targeting unexpected terminations, segfaults, etc.
Status: Needs Investigation
Requires to be debugged or checked for feasibility, etc.
Status: Needs Testing
Requires to be tested in-game for reproducibility
Topic: Stabilization
Requests, Issues and Changes related to improving stablity and reducing flakyness
Type: Bug
Issues reporting and PRs fixing problems
In current development versions of Terasology, I get a fatal crash whenever trying to load a save game with sheep or deer.
Traceback is something like this:
The that's here:
Terasology/engine/src/main/java/org/terasology/engine/rendering/logic/SkeletonRenderer.java
Lines 107 to 109 in 1f0349f
skeleton.boneEntities
is non-empty, but all the references in it are EntityRef.NULL, so those have no LocationComponent.I believe the null entity references come from here:
Terasology/engine/src/main/java/org/terasology/engine/persistence/typeHandling/extensionTypes/EntityRefTypeHandler.java
Lines 33 to 37 in 2d0c434
Is there some weird thing with loading the graph where those references are defined later in the global store, and they're not yet available when the deserializer tries to reference them?
it's also kinda weird that that's during
GloabalStoreLoader
, because I think those animals should be saved at chunk-level, not in the global store?maybe their bones are in the chunk store but the rest of their SkeletalMeshComponent is in the global store?
The text was updated successfully, but these errors were encountered: