Page 1 of 1

Reference IDs which are independent of scene [ADDED]

Posted: Tue Jun 26, 2018 6:53 am
by Joel
Status

Added in 3.3.0.

Complexity

5/10

Description

Currently reference managers generate references on a scene-by-scene basis. This means that references to objects in the Assets folder (for example, Textures) will be different in each scene, so data saved in one scene cannot apply to another.

To maintain references which are invariant of scene, a reference manager dedicated to managing references objects in the Assets folder would be required.

AssetDatabase.GetAssetPath or AssetDatabase.GetAssetOrScenePath would need to be used to ascertain whether an object exists in the Assets folder or in a scene.

Re: Reference IDs which are independent of scene

Posted: Tue May 05, 2020 6:43 am
by Joel
This has been added in 3.3.0.