Search Issue Tracker
Fixed in 2018.3.X
Votes
4
Found in
2017.3.0b9
Issue ID
969107
Regression
No
[ScriptedImporter] "SetMainObject" does not set "ScriptableObjects" as main Asset
Reproduction steps:
1. Open "ScriptedImportedTest2017.3.zip" project
2. Compare "CubeImporter" and "FooAssetImporter"
3. See the created Assets by the importers
Expected Result: "SetMainAsset" sets the Scriptable Object as the main asset
Actual Result: "SetMainAsset" doesn't set the Scriptable Object as the main asset
Fixed in: 2018.3.0a8
Reproduced with: 2018.1.0a6, 2017.3.0f1, 2017.2.0p4, 2017.1.2p3
Note:
Change these functions from the importers for 2017.2 and below
"AddObjectToAsset" -> "AddSubAsset"
"SetMainObject" -> "SetMainAsset"
From 2017.2 and down it's broken not only with ScriptableObjects
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
Add comment