Unity-Technologies / arfoundation-samples

Example content for Unity projects based on AR Foundation
Other
3.04k stars 1.14k forks source link

[Bug]Emergency help AROcculusionmanager and ARHumanbodymanager conflict,Cannot be used at the same time #983

Closed sunrui19941128 closed 2 years ago

sunrui19941128 commented 2 years ago
  1. 3dbodytrack cannot be used when humansegmentstencilmode is enabled 2.Human tracking will not work after human shielding is turned on 3.I want to make the virtual object follow the real person and keep the occlusion relationship 4.How to modify to make these two modules work
  2. void OnHumanBodiesChanged(ARHumanBodiesChangedEventArgs eventArgs) Another problem is that there is no event notification when 3D characters are lost,Only add and updateEvent
    • Unity version 2021.3.2LTS
    • ARFoundation version 5.0 pre 12
tdmowrer commented 2 years ago

These features cannot be used at the same time; it's a limitation of ARKit. See, for example: https://developer.apple.com/forums/thread/124944

sunrui19941128 commented 2 years ago

这些功能不能同时使用;这是 ARKit 的限制。参见,例如: https ://developer.apple.com/forums/thread/124944

Why can't I get the missing event of body tracking? OnHumanBodiesChanged(ARHumanBodiesChangedEventArgs eventArgs) Only add event and updatae event, remove event not Never triggered

tdmowrer commented 2 years ago

Check the tracking state. See https://github.com/Unity-Technologies/arfoundation-samples/issues/321

andyb-unity commented 2 years ago

Closing this issue as @tdmowrer has given the correct answers to both questions. Thanks Tim!