Forum Discussion
kweondavid
1 year agoHonored Guest
An issue ocurred when testing MR SoftOcclusion with auto spawning pawn from MyGameMode
Hello, I was testing about soft occlusion and an issue ocurred when auto spawning pawn from MyGameMode.
I tested two cases,
1. Start level with none GameMode and MyPawn set in level:
- SoftOcclusion worked fine.
--Scene Data loaded properly with logs below.
2024.04.03-09.20.49:593][537]LogOculusXRAnchors: ovrpEventType_SpaceQueryResults Request ID: 335007449211 -- Capacity: 1 -- Result: 1 [2024.04.03-09.20.49:604][538]LogOculusXRAnchors: ovrpEventType_SpaceQueryResults Request ID: 335007449213 -- Capacity: 1 -- Result: 1 [2024.04.03-09.20.49:682][544]LogOculusXRAnchors: ovrpEventType_SpaceQueryResults Request ID: 335007449215 -- Capacity: 7 -- Result: 1 [2024.04.03-09.20.49:682][544]LogOculusXRScene: SpatialAnchor Scene label is WALL_FACE [2024.04.03-09.20.49:682][544]LogOculusXRScene: SpatialAnchorQueryResult_Handler ScenePlane pos = [0.00, -2.51, -1.33], size = [0.00, 5.01, 2.67]. [2024.04.03-09.20.49:682][544]LogOculusXRScene: SpatialAnchor ScenePlane label is WALL_FACE [2024.04.03-09.20.49:683][544]LogOculusXRScene: Warning: AOculusXRSceneActor::SpawnOrUpdateSceneAnchor Spawn scene anchor mesh is invalid for WALL_FACE! [2024.04.03-09.20.49:683][544]LogOculusXRScene: SpatialAnchor Scene label is WALL_FACE ... ... ...
2. Start level with MyGameMode that DefaultPawnClass set to MyPawn, and MyPawn not set in level.(Auto spawn MyPawn by MyGameMode)
- SoftOcclusion Not Worked properly.
--Additionally, I found that in this case, scene data loaded unproperly.
It is log below.
[2024.04.03-09.20.40:891][ 33]LogOculusXRAnchors: ovrpEventType_SpaceQueryResults Request ID: 335007449183 -- Capacity: 1 -- Result: 1 [2024.04.03-09.20.40:934][ 36]LogOculusXRAnchors: ovrpEventType_SpaceQueryResults Request ID: 335007449185 -- Capacity: 1 -- Result: 1
What is the possible reason?
Welcome any helps..
Thanks.
1 Reply
Replies have been turned off for this discussion
- kweondavidHonored Guest
I found the problem..
When I spawn my Pawn with MyGameMode, I set PlayerStart with Rotator(0,0,-210).
Since MyPawn is spawned, SoftOcclusion seem to work not properly, BUT when I rotate my pawn to nearly (0,0,0) rotator, it works.
And I tested again when I set my PlayerStart's Rotator to (0,0,0), everything went properly;;
I am wondering should I never rotate my pawn when I want to implement SoftOcclusion to my MR contents?
Thanks.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 10 months ago
- 1 year ago
- 4 months ago