unitystation icon indicating copy to clipboard operation
unitystation copied to clipboard

Map Saver/Loader Issues

Open FuntimeDudeski opened this issue 8 months ago • 7 comments

main issues

[this may be fixed; haven't checked since last update of this issue] light switches/fixtures mapped as off still start on.

New: 6/27: the feature with scenes (.unity files) where a prefab that has been deleted shows up as missing in the hierarchy isn't present with map loader and .json format--the missing objects just aren't there. seems like map saver just deletes them. no warning or console message either

New 6/6: The light/color information in Light Sprite Handler on lights is constantly getting reset to 255 alpha/white in saved maps. This doesn't normally affect the lights in-game--They usually keep using the color info in sprite renderer--but it's very confusing and it seems like every once in a while it will break the light's intended values. It's just more work on top of all the other light source complications to keep track of and try to put those values back all the time. haven't seen this happen again in recent months, so presumed fixed.

New 5/17: A modified Simple Book component's text fields are reset to the prefab defaults (the component is originally on the prefab itself in this case, not added to the prefab instance).

New 5/9: Not when saving from scene to json, but when saving from json to json

  • the Spawn Gun field on turrets is reset from None to the default gun

older:

  • child objects added to prefab instances or configuration changes to prefab instances often lose their data

these may or may not be related to map saver but seem to have started around the time it was introduced

self-powered disposal bins show up as unpowered in-game (see iron chef awaysite) Image

Image

FuntimeDudeski avatar Apr 03 '25 18:04 FuntimeDudeski

@Bod9001 ^

corp-0 avatar Apr 03 '25 21:04 corp-0

  • new random items pools used with spawners cause tests to fail. Unable to replicate presumed fixed

new ore configs cause tests to fail. map saver replaces them with asteroid ore config. fixed

new gas mix SOs cause tests to fail. map saver replaces them with air gas mix. unable to replicate, presumably be fixed

child objects added to prefab instances lose data (child sprites replaced with none or default, child light2Ds have their sprite sadly you have to use sprite light handler to set the sprites, since the sprite can't be recorded on the unity behaviours

new lavaglowv2 sprite data SO is removed from mapped lights and i don't know why is because tests were not written properly so it wasn't recording that you didn't add them to the SO tracker

Message on Interact component added to an object on StarshipStation is deleted without a trace. Recently fixed

Bod9001 avatar Apr 13 '25 12:04 Bod9001

ACUs mapped to 'off' are set to filtering on load was order execution issue fixed

Bod9001 avatar Apr 13 '25 12:04 Bod9001

https://github.com/unitystation/unitystation/pull/10809 all the fixes for what I said are emerged in

Bod9001 avatar Apr 13 '25 12:04 Bod9001

ornamental shuttle engines with direction set to 'up' are pointing down on load fixed

turrets in Valley have their bullet type reset from firebeam to the default laser, that's because it grabs it from the gun that is specified on the turret if you set it to null then it works fine.

many objects show wrong rotational state in editor--seems linked to having the 'upright sprites' component , wasn't being set properly in editor

new floor decal objects assigned a sprite data SO and an initial variant index value ignore the value given and revert to the first sprite in the sheet (index 0)., was fixed by the previous bug being fixed above

Bod9001 avatar Apr 13 '25 17:04 Bod9001

"

possible issue with gas containers mapped into valley with valve set to open--no sign of any gas when map is run. haven't fully diagnosed this but they were working in the past so i suspect map saver could be the reason. " you have to set the release pressure to 99999 so it actually releases the contents

Bod9001 avatar Apr 13 '25 21:04 Bod9001

disposal intake prefab instances set as ‘secured’ (and 'is not pushable' i'm pretty sure) show up lying on their side in-game (but orient themselves correctly once used) fixed

Bod9001 avatar Apr 13 '25 21:04 Bod9001