Search Issue Tracker

Won't Fix

Votes

0

Found in [Package]

3.0.0-pre.1

Issue ID

1335668

Regression

Yes

[Recorder] InvalidOperationException thrown when Recording is started in the Recorder window

Package: Recorder

-

On starting recording from the Recorder window then it causes the editor to throw InvalidOperationException continuously, refer to the attached video.

Steps to repro:
1. Create a new project with HDRP Template
2. Window > Package Manager > Recorder > Install
3. Window > General > Recorder > Recorder Window
4. Add Recorder in the List > Image Sequence
5. Strat Recording

Actual Result:
InvalidOperationException is thrown continuously on Starting Recording

Expected Result:
No exception thrown in the console

Reproducible in:
2021.2.0a17 with package version 3.0.0-pre.1

Working fine in:
2021.2.0a16, 2021.1.5f1 with package version 2.5.5

Environment:
Occurring on Windows 10 & macOS 10.15.

Stack trace:
InvalidOperationException: You are trying to read Input using the UnityEngine.Input class, but you have switched active Input handling to Input System package in Player Settings.
UnityEngine.Input.get_mousePosition () (at <04e62a56ff8e43d3a6c029b89bb68d28>:0)
UnityEngine.UI.MultipleDisplayUtilities.GetMousePositionRelativeToMainDisplayResolution () (at Library/PackageCache/com.unity.ugui@1.0.0/Runtime/UI/Core/MultipleDisplayUtilities.cs:40)
UnityEngine.EventSystems.BaseInput.get_mousePosition () (at Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/InputModules/BaseInput.cs:75)
UnityEngine.EventSystems.StandaloneInputModule.UpdateModule () (at Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/InputModules/StandaloneInputModule.cs:178)
UnityEngine.EventSystems.EventSystem.TickModules () (at Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/EventSystem.cs:452)
UnityEngine.EventSystems.EventSystem.Update () (at Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/EventSystem.cs:467)

InvalidOperationException: You are trying to read Input using the UnityEngine.Input class, but you have switched active Input handling to Input System package in Player Settings.
UnityEngine.EventSystems.BaseInput.GetButtonDown (System.String buttonName) (at Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/InputModules/BaseInput.cs:126)
UnityEngine.EventSystems.StandaloneInputModule.ShouldActivateModule () (at Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/InputModules/StandaloneInputModule.cs:227)
UnityEngine.EventSystems.EventSystem.Update () (at Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/EventSystem.cs:474)

  1. Resolution Note:

    This issue is not related to the Recorder Package. The exception is thrown when entering playmode even when the Recorder package isn't installed.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.