realitycollective / com.realitytoolkit.player

The camera service module of the Reality Toolkit. Use this module to set up a camera rig for XR apps and games in no time.
https://realitytoolkit.realitycollective.net/
MIT License
0 stars 0 forks source link

BUG: Index Reference error encountered when switching build platforms #14

Open SimonDarksideJ opened 1 year ago

SimonDarksideJ commented 1 year ago

The following error appeared when I switched from Android back to Standalone Build platforms:

Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
  at System.Collections.Generic.List`1[T].get_Item (System.Int32 index) [0x00009] in <b89873cb176e44a995a4781c7487d410>:0 
  at RealityToolkit.CameraService.CameraService.Initialize () [0x00034] in .\Packages\com.realitytoolkit.camera\Runtime\CameraService.cs:83 
  at RealityCollective.ServiceFramework.Services.ServiceManager.InitializeAllServices () [0x0003e] in .\Packages\com.realitycollective.service-framework\Runtime\Services\ServiceManager.cs:1344 

Unclear as to the source of the issue.