kweondavid
2 years 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.