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
- Unity Hub redirects to The Unity Roadmap when navigating to “Send Feedback” option
- UI Toolkit throws warning and fails to clear references when fields are not typed as UnityEngine.Object
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
Add comment