Search Issue Tracker
Fixed in 5.0.2
Votes
2
Found in
5.0.0f1
Issue ID
672054
Regression
No
[Lighting] PPtr cast fail errors when baking
To reproduce:
- Open the attached project and the scene
- Bake the lightmap,observe errors:
PPtr cast failed when dereferencing! Casting from DefaultAsset to Mesh!
UnityEditor.DockArea:OnGUI()
PPtr cast failed when dereferencing! Casting from AssetDatabase to Mesh!
UnityEditor.DockArea:OnGUI()
PPtr cast failed when dereferencing! Casting from Texture2D to Mesh!
UnityEditor.DockArea:OnGUI()
And more errors like this
Comments (1)
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
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
msaw
Dec 06, 2018 16:58
pptr cast failed when dereferencing! Casting from Shader to Texture!