Search Issue Tracker
Fixed in 5.4.0
Votes
0
Found in
5.1.1p3
Issue ID
723650
Regression
No
Accessing "tooltip" property of SerializedProperty crashes Unity
Unity crashes when you try to access 'tooltip' property of SerializedProperty instance.
In attached project open TestScene scene and press Play. You'll get your crash.
This scene has empty object with attached script that tries to access tooltip property of SerializedProperty.
Looks like this.
void Start ()
{
SerializedObject serializedObject = new SerializedObject (ScriptableObject.CreateInstance<ScriptableObject>());
SerializedProperty iterator = serializedObject.GetIterator();
Debug.Log(iterator.tooltip);
}
On Debug it crashes.
Same result caт be received during debugging:
1. Set brreakpoint on Debug line (13)
2. Attach MD to Unity Editor
3. Press Play
4. In MD try to investigate properties of iterator variable.
Unity will crash.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Standard Unity Materials and Shaders become corrupted after importing specific Asset Packages
- [Linux][OpenGL][Vulkan] Draw calls are not shown in the Event List when taking a capture of a frame with RenderDoc
- Inaccurate collision detections when Rigidbody Collision Detection is set to "Continuous" or "Continuous Dynamic"
- Crash on Object::IncrementPersistentDirtyIndex when upgrading project version
- [iOS] Multiple Xcode project instances created before opens up when performing Build and Run for iOS Platform
Add comment