Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFI: The Input System is unable to operate without a specific camera setup, currently managed by a dependency? #77

Closed
SimonDarksideJ opened this issue Aug 23, 2023 · 0 comments · Fixed by #145
Assignees
Labels
enhancement New feature or request feature approved

Comments

@SimonDarksideJ
Copy link
Contributor

SimonDarksideJ commented Aug 23, 2023

In a clean setup and using only the Core package, if the Input Service is used it currently fails as all the modules all require a specific setup for the camera.

Currently, this is provided by the new Camera package, but in the current implementation, this has created a hard dependency on a package for the Core package.

Discussion is needed on how to progress with core in its current state.

Additional Information

Errors include:

gazeTransform:Main Camera must have a parent!
UnityEngine.Debug:LogError (object)
RealityToolkit.Input.Modules.GazeProvider:InitializeGazePointer () (at ./Packages/com.realitytoolkit.core/Runtime/Input/Modules/GazeProvider.cs:452)
RealityToolkit.Input.Modules.GazeProvider:get_GazePointer () (at ./Packages/com.realitytoolkit.core/Runtime/Input/Modules/GazeProvider.cs:102)
RealityToolkit.Input.Modules.GazeProvider:get_GazeOrigin () (at ./Packages/com.realitytoolkit.core/Runtime/Input/Modules/GazeProvider.cs:121)
RealityToolkit.Input.Modules.GazeProvider:Update () (at ./Packages/com.realitytoolkit.core/Runtime/Input/Modules/GazeProvider.cs:331)

NullReferenceException: Object reference not set to an instance of an object
RealityToolkit.Input.Modules.GazeProvider.get_GazeOrigin () (at ./Packages/com.realitytoolkit.core/Runtime/Input/Modules/GazeProvider.cs:121)
RealityToolkit.Input.Modules.GazeProvider.Update () (at ./Packages/com.realitytoolkit.core/Runtime/Input/Modules/GazeProvider.cs:331)

NullReferenceException: Object reference not set to an instance of an object
RealityToolkit.Input.Modules.GazeProvider.Start () (at ./Packages/com.realitytoolkit.core/Runtime/Input/Modules/GazeProvider.cs:314)
System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state) (at <b89873cb176e44a995a4781c7487d410>:0)
UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () (at <e97d84204f8d4aef92b538c5bab948f1>:0)
UnityEngine.UnitySynchronizationContext.Exec () (at <e97d84204f8d4aef92b538c5bab948f1>:0)
UnityEngine.UnitySynchronizationContext.ExecuteTasks () (at <e97d84204f8d4aef92b538c5bab948f1>:0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature approved
Projects
Status: 📋 Backlog
Development

Successfully merging a pull request may close this issue.

2 participants