Search Issue Tracker
Duplicate
Votes
1
Found in
5.0.0b19
Issue ID
661948
Regression
No
Errors when importing the UI example project from the Asset Store
Steps to reproduce :
- import the UI example project from the Asset Store and notice the errors
*Note :
On 4.6, UnityEngine.EventSystems.StandaloneInputModule.inputMode' is obsolete warning is shown.
Comments (2)
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
- "NullReferenceException" is thrown when setting a long string in TMP with "Atlas Population Mode" set to "Dynamic" and "Multi Atlas Textures" enabled
- TextMeshPro text is misaligned when alignment is set via script
- A DX11 shader error is thrown when compiling shaders for platforms without DX11 support
- Rigidbody2D.Slide correctly ignores colliders specified with "Physics2D.IgnoreCollision" however encountering them can still modify movement behaviour in subtle ways.
- [Quality Hackweek] A black separator appears when the left panel in the UI Builder tab is resized, and the tab is narrow
DajStudio
Jul 26, 2019 13:38
delete "&& standaloneInputModule.inputMode == StandaloneInputModule.InputMode.Buttons"
Farioto
Apr 03, 2015 21:43
warning CS0618: `UnityEngine.EventSystems.StandaloneInputModule.inputMode' is obsolete: `Mode is no longer needed on input module as it handles both mouse and keyboard simultaneously.'
Why not???
Oh and what can I do To Fix This? because it currently breaks being able to use
var standaloneInputModule = EventSystem.current.currentInputModule as StandaloneInputModule;
if (standaloneInputModule != null && standaloneInputModule.inputMode == StandaloneInputModule.InputMode.Buttons)