Search Issue Tracker
Fixed in 0.9.0-preview.6
Votes
0
Found in [Package]
0.4.0, 0.5.1
Issue ID
1206377
Regression
Yes
[ECS] GameObjectConversionMappingSystem.DeclareReferencedPrefab does not raise a warning when given object is not a Prefab
How to reproduce:
1. Open 'SampleScene' from "NonPrefabWarning.zip"
2. In Hierarchy select 'PrefabConstructor'
3. Drag 'Sphere' or any other object from Hierarchy to "Element 0" slot in "Prefab Constructor" Inspector
4. Start Play Mode and inspect Console
Expected result: "Object is not a Prefab" warning is shown before any other conversion-related errors
Actual result: Only "GetPrimaryEntity(Object 'Sphere') is a GameObject that was not included in the conversion and will be ignored." warning and "ArgumentException: The entity does not exist" error appear in Console
Reproducible with: 2019.3.1f1, 2020.1.0a23
Could not test with: 2017.4 - packages not supported, 2018.4 - missing functionality in supported package versions
Reproducible with packages: 0.4.0, 0.5.1
Not reproducible with package: 0.3.0
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
- [Quest] Pitch Shifter causes audio degradation on Quest 2 devices when sped up
- "GUI Error: Invalid GUILayout" and "NullReferenceException" are thrown when adding Scenes to "Scenes in Baking Set" in Adaptive Probe Volumes
- Inspector window not updating when switching GameObjects in Play Mode while having a VR headset connected
- “UnityException: GetInvalidFilenameChars” errors are thrown, and the Overlay Save Preset button becomes unusable when entering Play Mode with a shortcut while Overlay Save Preset window is opened
- "UnityException: GetName can only be called from the main thread." erors are thrown when the Shortcuts window is opened and entering Play Mode with a shortcut
Resolution Note (fix version 0.9.0-preview.6):
The package version is available on 2019.3.0f1 and above.