Closed FejZa closed 1 year ago
When importing without the toolkit present, I get the following errors:
Maybe we should move the package installer to Utilities?
No property listed for the new prefab variable in the editor Likely needs the inspector checking
Removing the Camera service DELETES the existing rig in the scene, don't think it should do that. Shouldn't automatically clear up when the service is removed
If I alter the XRCameraRig in the scene, my changes are destroyed when the camera service is viewed in the Service Manager inspector. I.E. I add some components or additional rig objects.
What is the expected behaviour here?
Build script does not have all the required dependencies,
dependencies: '{"development": "github.com/realitycollective/com.realitycollective.buildtools.git"}'
secrets: inherit
Missing the Service Framework for the test build
Thanks @SimonDarksideJ, I'll look into the clean up and inspector. Adding the package without the toolkit is not a supported scenario and hence not an issue.
Well it's a PREFAB, you are not supposed to edit it in the scene and not apply the changes
But let me look into a way to maybe support this or at leat auto-apply changes. Might not even be an issue anymore once the service does not delete the rig on clean up
Prefab is being destroyed and recreated in the scene whenever the camera service is inspected.
Replication Instructions:
Expected: The Rig and managing script are still in the scene, the prefab should remain untouched
Actual: The rig is destroyed and replaced with the original
The scene is not marked dirty when the camera is added to the scene:
Replication Instructions:
Expected: If and when the scene is altered by the Camera Service, it should be marked as dirty
Actual: Apart from the initial change when the Camera is removed and the first prefab added, the scene is never marked dirty.
Well it's a PREFAB, you are not supposed to edit it in the scene and not apply the changes
Fair enough, we should ensure this is clearly documented that each camera provider will give its own prefab configured in the way it should be used. The flow being that the XRRig will be replaced at runtime with the prefab required.
Ok once the new SF package is out in the wild I can update dependencies on this one and it should pass build validation.
Reality Collective - Reality Toolkit Pull Request
Overview
This is a carry over from core into a dedicated package. Here's the overview of important changes compared to the previous camera service implementation:
MixedRealityCameraSystem
toCameraService
. All related scripts accordinglyCameraServiceModule
's profileTrackedPoseDriver
are added to the rig, if the prefab does not have themTLDR: The rig is now a prefab