Search Issue Tracker
Fixed in 1.0.0-preview1
Votes
0
Found in [Package]
0.2.0, 0.9.6
Issue ID
1184222
Regression
No
Custom Editor Tools break and throw error after leaving Playmode while custom tool is enabled and Input System package installed
How to reproduce:
1. Open attached project "New Unity Project.zip" and scene "SampleScene"
2. In Hierarchy window, select "Custom Tool Object"
3. In Scene window, enable "Component Editor Tools" (a "Tools" panel in Scene view bot-right corner should appear)
4. In the "Tools" panel select/enable the only button (this is a custom button from "TestTool" Editor script)
5. Enter Play mode
6. In Hierarchy window, deselect "Component Editor Tools" object
7. Leave Play mode
8. Observe Console window
Expected result: no errors are thrown, when "Component Editor Tools" is selected the tool is visible/clickable
Actual result: Null Reference Exception is thrown, the tool does not appear anymore (until Input System)
Reproducible with: 2019.2.7f1(0.2.0, 0.9.6), 2019.3.0b4(0.9.6), 2020.1.0a5(0.9.6)
Could not test with: 2017.4, 2018.4 due to "using UnityEditor.EditorTools;" not yet implemented
Additional notes:
The issue is not reproducible if the project does not have "Input System" package installed
Reinstalling "Input System" or deleting Library folder fixes the issue until the next time repro steps are done
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [2D] Spotlight 2D can get 'captured' by the sprite when shadows enabled
- Cannot navigate to Slider elements next to each other horizontally that require "Tab" key press on keyboard when using a gamepad controller
- Crash on Transform_CUSTOM_set_localScale_Injected when opening a Prefab that contains a script calling set_LocalScale during serialization
- [iOS] Player freezes with a warning "A new orientation transaction token is being requested while a valid one already exists" when orientation is changed during runtime on a specific devices
- Category is unselected when reverting changes in the Sprite Library Editor
Add comment