Search Issue Tracker
Fixed in 2020.2.X
Votes
0
Found in
2017.4
2018.4
2019.2.21f1
2019.3
2020.1
Issue ID
1220825
Regression
No
ScriptableObject's mainObjectFileID is reset when duplicating it to another folder
Reproduction steps:
1. Open attached project "ScriptableObject"
2. In the Project window,right-click on "Data", select "Show In Explorer" and make sure its mainObjectFileID is set to 11400000 in the META file
3. In the Project window, click on "Data" while holding CTRL and drag it into the Scenes folder
4. Right-click on the newly created "Data" duplicate and select "Show In Explorer"
5. Open the duplicate's META file
Expected result: mainObjectFileID value is the same as the original's
Actual result: mainObjectFileID is set to 0
Reproducible with: 2017.4.37f1, 2018.4.18f1, 2019.3.3f1, 2020.1.0a25
Note: When "Data" is copied using CTRL+D, its mainObjectFileID value is set to the original's (11400000)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0a21