References are not all saved
Posted: Thu May 04, 2023 8:45 am
Hello,
I'm obviously dumb as a brick.
I've been sitting on an obviously very stupid problem for days now.
I have a "mapManager", which has "Vehicle".
(For testing: I also added the vehicles as GameObejct)
All possible prefab-vehicles are added to the reference manager.
The GameObject also has the es3 Prefab script
During the save of the information there are no errors logged.
This is the save manager: I setted the "Reference depth" to 10. "Add all prefabs to manager" is true. "Auto update references" is active.
The save file only saves the references-id but not the data of the vehicle.
I compared this with your example file (of the board) and there you save all settings/components of the object.
Of course i get an error at loading of the save file:
"Reference with ID 7199470260787816095 could not be found in Easy Save's reference manager. If you are loading objects dynamically (i.e. objects created at runtime), this warning is expected and can be ignored."
What do i do wrong?
Best regards,
Sebastian
I'm obviously dumb as a brick.
I've been sitting on an obviously very stupid problem for days now.
I have a "mapManager", which has "Vehicle".
Code: Select all
[ES3Serializable] private List<Vehicle> vehicles = new List<Vehicle>();
Code: Select all
[ES3Serializable] private List<GameObject> vehiclesGameobject = new List<GameObject>();
During the save of the information there are no errors logged.
This is the save manager: I setted the "Reference depth" to 10. "Add all prefabs to manager" is true. "Auto update references" is active.
The save file only saves the references-id but not the data of the vehicle.
Code: Select all
"vehicles" : [
{
"_ES3Ref" : "7386310704144569966"
}
],
Of course i get an error at loading of the save file:
"Reference with ID 7199470260787816095 could not be found in Easy Save's reference manager. If you are loading objects dynamically (i.e. objects created at runtime), this warning is expected and can be ignored."
What do i do wrong?
Best regards,
Sebastian