Search found 6 matches

by rubine2323
Tue Mar 26, 2024 6:39 pm
Forum: General Discussion
Topic: Scriptable Object Reference without Reference Manager?
Replies: 1
Views: 4257

Scriptable Object Reference without Reference Manager?

I'm currently encountering a problem related to the reference manager. I have a class that is saved, but the actual value of the reference isn't important because I use a custom reference script to link to the ScriptableObject. This approach was adopted due to past issues where references changed, r...
by rubine2323
Tue Mar 26, 2024 2:11 pm
Forum: General Discussion
Topic: How to handle altered gamedata?
Replies: 3
Views: 4241

Re: How to handle altered gamedata?

Okay weird i reverted my savefile to my previous before implementing the changes to the structure so its in the state like it was before. Then i loaded the old save data it worked. I added the changes again and it loaded them like nothing happend. Maybe i glitched something but youre right it just w...
by rubine2323
Tue Mar 26, 2024 12:39 pm
Forum: General Discussion
Topic: How to handle altered gamedata?
Replies: 3
Views: 4241

Re: How to handle altered gamedata?

This will actually throw an error if its structured like that: public class GameData { public int saveFileVersion; public GlobalData globalData; public List<BaseLevelData> levels; public List<LevelSelectionData> levelSelectionData; } public class BaseLevelData { //GENERAL public string sceneName; pu...
by rubine2323
Tue Mar 26, 2024 11:38 am
Forum: General Discussion
Topic: How to handle altered gamedata?
Replies: 3
Views: 4241

How to handle altered gamedata?

I would like to know whats the best practise to handle altered gamedata? For example gamedata was saved like that: Gamedata{ int version LevelData leveldata } Leveldata{ int value1 } now i change the Leveldata to Leveldata{ int value1 int value2 } On loading with an old savegame without int value2 i...
by rubine2323
Mon Apr 10, 2023 3:03 am
Forum: General Discussion
Topic: Reference to Prefab missing
Replies: 1
Views: 1285

Reference to Prefab missing

I made my save system with ES3 now i've the following problem. I have Scriptable Objects which stores Prefabs. Now when the game is saved and loaded again the reference to that prefab in the scriptable objects are missing. The Scriptable Object Script is serializable. Ive a ES3 Manager in the Loadin...
by rubine2323
Thu Jan 27, 2022 1:23 am
Forum: General Discussion
Topic: Save/Load List<Transforms> at runtime created.
Replies: 1
Views: 509

Save/Load List<Transforms> at runtime created.

I've a List<Transform> placedObjects. Those transforms in the list are instantiated at runtime and saved to the list. When i save the list i loose the initiale names of the objects and the objects are called later on load "EASY SAVE GAMEOBJECT..." I need for my scripts the original name of...