Search Issue Tracker
Fixed in 4.2.2, 5.0.0-pre.6
Votes
6
Found in [Package]
4.1.7
Issue ID
1357108
Regression
No
UNITY_XR_ARKIT_LOADER_ENABLED define is not added if 'ARKit Face Tracking' is enabled and Unity Editor build target is NOT set t
How to reproduce:
1. Create a new Unity Project (Unity 2020.3.15f2).
2. Set build target to Standalone (default).
3. Go to 'Project Settings/XR Plugin Management' and install it.
4. Enable ARKit Plug-in Provider. This will install ARKit 4.1.7 as a verified version for Unity 2020.3.15f2.
5. This step is crucial: go to 'Project Settings/XR Plugin Management/ARKit' and enable 'Face Tracking'.
6. Switch build target to iOS.
Expected results:
- In ProjectSettings -> Player -> ScriptCompilation -> ScriptingDefineSymbols, you should see both UNITY_XR_ARKIT_LOADER_ENABLED and UNITY_XR_ARKIT_FACE_TRACKING_ENABLED defined.
Actual results:
- In ProjectSettings -> Player -> ScriptCompilation -> ScriptingDefineSymbols, UNITY_XR_ARKIT_FACE_TRACKING_ENABLED will be correctly defined.
- However, UNITY_XR_ARKIT_LOADER_ENABLED will not be defined.
Workaround:
- Re-enable ARKit provider.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The cursor moves into wrong place when renaming folder/asset
- Assertion error "(dx - width < padding) || (dy - height < padding)" when using Pack Preview
- [Memory Profiler] The EntryType.NativeAllocationSites_MemoryLabelIndex of snapshots only reports -1 or 0 instead of the MemLabel used for allocations made from any call site.
- [Vulkan] Artifacts appear in the Player when using Screen Space shadows with orthographic camera
- Errors OnGUIDepth changed & GUIUtility:ProcessEvent when opening Textures with Third Party App
Add comment