diff --git a/Modules/@babylonjs/react-native/EngineHook.ts b/Modules/@babylonjs/react-native/EngineHook.ts index 9b5ace73f..92382bf92 100644 --- a/Modules/@babylonjs/react-native/EngineHook.ts +++ b/Modules/@babylonjs/react-native/EngineHook.ts @@ -70,8 +70,8 @@ if (Platform.OS == "windows") { // TODO: https://github.com/BabylonJS/BabylonNative/issues/577 // Windows HMDs require different rendering behaviors than default xr rendering for mobile devices const sessionManager = await originalEnterXRAsync.apply(this, args); - this.scene.clearColor = Color3.Black().toColor4(); - this.scene.autoClear = true; + sessionManager.scene.clearColor = Color3.Black().toColor4(); + sessionManager.scene.autoClear = true; return sessionManager; } }