Search Issue Tracker
By Design
Votes
0
Found in
2017.1.0p4
Issue ID
952475
Regression
No
Calling base.OnGUI in the custom Material Property Drawer shows "No GUI Implementd" in the material's inspector
To reproduce:
1. Open the project, attached by the user (MaterialPropertyDrawer_IssueReport.7z)
2. Select the TestMaterial in the Project view
3. Observe the properties of the material in the Inspector
Expected: calling base.OnGUI in a custom Material Property Drawer draws the properties in a default way.
Reproduced in 5.5.5p1, 5.6.4p1, 2017.1.0p4, 2017.1.1p2, 2017.2.0f3, 2017.3.0b5
By design: use https://docs.unity3d.com/ScriptReference/MaterialEditor.DefaultShaderProperty.html instead of the base.OnGUI
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment