Search Issue Tracker
By Design
Votes
0
Found in
4.5.1f3
Issue ID
618561
Regression
No
AddObjectToAsset doesn't serialize an object inside the asset
Open the Example1.scene; do the following:
- Drag and drop the "Dict" script on top of the "Dict" object.
- Press Ctrl-S to save the scene.
- In a text editor, open "Resources/Dict.asset".
- Notice that:
- the _values field is serialized as a reference to a scene object, using its original fileID
Example: _values: - {fileID: 400000} (but you could as well have a fileID of 0).
However, the corresponding object is not serialized inside the asset (despite having been added via AddObjectToAsset (cf Dict.cs)).
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Keywords on Material Variants aren't automatically saved when changed on original Material through Shader Graph
- Light Probes get baked when calling LightProbes.Tetrahedralize
- Shadows flicker and cause visual artifacts when modifying a GameObject's bounds using Swizzle (Y Mask) and Sine Time nodes
- [WebGL] Frame rate drops by 5-20 fps when moving cursor or touch input in the Player
- Light bleeds when using box shaped spotlight with specific Emission Range values
Add comment