This object is in archive! 

Recent Update Removed Planets

[MisFit] Silverbane shared this bug 5 years ago
Solved

I have been building a scenario and the recent update has deleted 4 of 12 of my planets.

I add planets back in and it grabs 4 more and deletes them.

Here is the log of what its doing:

2019-10-24 16:28:09.022 - Thread: 23 -> ERROR Entity init!: System.NullReferenceException: Object reference not set to an instance of an object.

at Sandbox.Game.GameSystems.MyHeightMapLoadingSystem.Cache(String path, MyCubemap[]& materialMaps)

at Sandbox.Engine.Voxels.Planet.MyPlanetTextureMapProvider.GetMaps(MyPlanetMapTypeSet types)

at Sandbox.Engine.Voxels.MyPlanetStorageProvider.Init(Int64 seed)

at Sandbox.Engine.Voxels.MyPlanetStorageProvider.ReadFrom(Int32 storageVersion, Stream stream, Int32 size, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyOctreeStorage.ReadDataProvider(Stream stream, ChunkHeader header, Boolean& isOldFormat, IMyStorageDataProvider& provider)

at Sandbox.Engine.Voxels.MyOctreeStorage.LoadInternal(Int32 fileVersion, Stream stream, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Stream stream, MyStorageBase& storage, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Byte[] memoryBuffer)

at Sandbox.Engine.Voxels.MyStorageBase.LoadFromFile(String absoluteFilePath, Dictionary`2 modifiers, Boolean cache)

at Sandbox.Engine.Voxels.MyStorageBase.Load(String name, Boolean cache)

at Sandbox.Game.Entities.MyPlanet.Init(MyObjectBuilder_EntityBase builder, IMyStorage storage)

at Sandbox.Game.Entities.MyEntities.InitEntity(MyObjectBuilder_EntityBase objectBuilder, MyEntity& entity)

2019-10-24 16:28:09.041 - Thread: 26 -> ERROR Entity init!: System.NullReferenceException: Object reference not set to an instance of an object.

at Sandbox.Game.GameSystems.MyHeightMapLoadingSystem.Cache(String path, MyCubemap[]& materialMaps)

at Sandbox.Engine.Voxels.Planet.MyPlanetTextureMapProvider.GetMaps(MyPlanetMapTypeSet types)

at Sandbox.Engine.Voxels.MyPlanetStorageProvider.Init(Int64 seed)

at Sandbox.Engine.Voxels.MyPlanetStorageProvider.ReadFrom(Int32 storageVersion, Stream stream, Int32 size, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyOctreeStorage.ReadDataProvider(Stream stream, ChunkHeader header, Boolean& isOldFormat, IMyStorageDataProvider& provider)

at Sandbox.Engine.Voxels.MyOctreeStorage.LoadInternal(Int32 fileVersion, Stream stream, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Stream stream, MyStorageBase& storage, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Byte[] memoryBuffer)

at Sandbox.Engine.Voxels.MyStorageBase.LoadFromFile(String absoluteFilePath, Dictionary`2 modifiers, Boolean cache)

at Sandbox.Engine.Voxels.MyStorageBase.Load(String name, Boolean cache)

at Sandbox.Game.Entities.MyPlanet.Init(MyObjectBuilder_EntityBase builder, IMyStorage storage)

at Sandbox.Game.Entities.MyEntities.InitEntity(MyObjectBuilder_EntityBase objectBuilder, MyEntity& entity)

2019-10-24 16:28:09.058 - Thread: 24 -> ERROR Entity init!: System.NullReferenceException: Object reference not set to an instance of an object.

at Sandbox.Game.GameSystems.MyHeightMapLoadingSystem.Cache(String path, MyCubemap[]& materialMaps)

at Sandbox.Engine.Voxels.Planet.MyPlanetTextureMapProvider.GetMaps(MyPlanetMapTypeSet types)

at Sandbox.Engine.Voxels.MyPlanetStorageProvider.Init(Int64 seed)

at Sandbox.Engine.Voxels.MyPlanetStorageProvider.ReadFrom(Int32 storageVersion, Stream stream, Int32 size, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyOctreeStorage.ReadDataProvider(Stream stream, ChunkHeader header, Boolean& isOldFormat, IMyStorageDataProvider& provider)

at Sandbox.Engine.Voxels.MyOctreeStorage.LoadInternal(Int32 fileVersion, Stream stream, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Stream stream, MyStorageBase& storage, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Byte[] memoryBuffer)

at Sandbox.Engine.Voxels.MyStorageBase.LoadFromFile(String absoluteFilePath, Dictionary`2 modifiers, Boolean cache)

at Sandbox.Engine.Voxels.MyStorageBase.Load(String name, Boolean cache)

at Sandbox.Game.Entities.MyPlanet.Init(MyObjectBuilder_EntityBase builder, IMyStorage storage)

at Sandbox.Game.Entities.MyEntities.InitEntity(MyObjectBuilder_EntityBase objectBuilder, MyEntity& entity)

2019-10-24 16:28:09.078 - Thread: 25 -> ERROR Entity init!: System.NullReferenceException: Object reference not set to an instance of an object.

at Sandbox.Game.GameSystems.MyHeightMapLoadingSystem.Cache(String path, MyCubemap[]& materialMaps)

at Sandbox.Engine.Voxels.Planet.MyPlanetTextureMapProvider.GetMaps(MyPlanetMapTypeSet types)

at Sandbox.Engine.Voxels.MyPlanetStorageProvider.Init(Int64 seed)

at Sandbox.Engine.Voxels.MyPlanetStorageProvider.ReadFrom(Int32 storageVersion, Stream stream, Int32 size, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyOctreeStorage.ReadDataProvider(Stream stream, ChunkHeader header, Boolean& isOldFormat, IMyStorageDataProvider& provider)

at Sandbox.Engine.Voxels.MyOctreeStorage.LoadInternal(Int32 fileVersion, Stream stream, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Stream stream, MyStorageBase& storage, Boolean& isOldFormat)

at Sandbox.Engine.Voxels.MyStorageBase.Load(Byte[] memoryBuffer)

at Sandbox.Engine.Voxels.MyStorageBase.LoadFromFile(String absoluteFilePath, Dictionary`2 modifiers, Boolean cache)

at Sandbox.Engine.Voxels.MyStorageBase.Load(String name, Boolean cache)

at Sandbox.Game.Entities.MyPlanet.Init(MyObjectBuilder_EntityBase builder, IMyStorage storage)

at Sandbox.Game.Entities.MyEntities.InitEntity(MyObjectBuilder_EntityBase objectBuilder, MyEntity& entity)

Replies (4)

photo
1

After further testing I found that this bug shows up whenever you add a custom planet more then once. To recreate add some custom planets, save your game, then reload it and it will pick at random a few planets to remove each time you save and reload it.

photo
1

Please test it on latest version (v193.019 – Hotfix).


photo
1

I just tested it in version 193.019 . Still the same. In my case several spawned in moons disappear. Not randomly, but every time i try the same ones are deleted. Looking in the .sbc file all 'double'enrties are deleted, i.e. the ones I spawned in more then once like the earthlike moon and Europa. A spawned in planet (Ravcor) is unaffected and still there.


Hope this one is solvable, because it is quite a job to spawn them in again near those deep space trading posts. :)

photo
1

Hello Willem,


here is my email: ondrej.nahalka@keenswh.com.


Please send me your log file and video how to reproduce it (you can use https://streamable.com/).

photo
1

Just saw your reply. I am not sure if I am able to reproduce it. If you read my comment below, that is the best way to reproduce the issue. I could send you a before and afterscreenshot, but I doubt that would be usefull. Nevertheless I will try to locate the log file and send it o you. Any suggestion on how to create it?

I can load up the save of the 24th (after update 193) with the missing moons copied into the sbc file. Is that the log file you are looking for?

photo
1

Some more information on the issue. When loading an older save from the 3rd of october all moons are in the game. I tried to copy the missing ones from this game into the save of yesterday the 24th (after the 193 update) with no result.

Copying all in, the planets that are still there included, the result stays the same. The same moons are missing. The newly copied in planets are where they are supposed to be.

Replies have been locked on this page!