Search Issue Tracker
Won't Fix
Won't Fix in 5.0.X
Votes
0
Found in [Package]
5.0.0-pre.10
Issue ID
ARFB-38
Regression
Yes
BasicImageTracking scene throws Argument Exception upon entering AR Sim mode
What Happened
Using the BasicImageTracking scene from Samples with the museum Simulation Environment, upon entering Play mode for AR Sim the error below appears in Console.
Configuration
2021.3.0f1.2 (2021.3/staging 6eacc8284459)
MacOS 12.0.1, MacBook Pro (15-inch, 2019), 2.4 GHz 8-Core Intel Core i9
AR Foundation 5.0.0-pre.10 (0a49b4f)
Error
ArgumentException: The number of vertices in the combined mesh (101437) exceeds the maximum supported vertex count (65535) of the UInt16 index format. Consider using the UInt32 IndexFormat for the combined mesh to increase the max vertex count.
UnityEngine.Mesh.CombineMeshes (UnityEngine.CombineInstance[] combine) (at /Users/bokken/buildslave/unity/build/Runtime/Export/Graphics/Mesh.cs:1336)
UnityEngine.XR.Simulation.SimulationMeshSubsystem.CreateMeshFromCombineList (System.Collections.Generic.List`1[T] combineInstancesList, UnityEngine.Rendering.IndexFormat meshIndexFormat) (at Library/PackageCache/com.unity.xr.arfoundation@5.0.0-pre.10/Runtime/Simulation/Subsystems/Meshing/SimulationMeshSubsystem.cs:227)
UnityEngine.XR.Simulation.SimulationMeshSubsystem.AddMeshesWithClassification (System.Collections.Generic.List`1[T] meshFilters, UnityEngine.Matrix4x4 environmentWorldToLocal, System.String classification, UnityEngine.XR.Simulation.MeshDiscoveryParams meshingSettings) (at Library/PackageCache/com.unity.xr.arfoundation@5.0.0-pre.10/Runtime/Simulation/Subsystems/Meshing/SimulationMeshSubsystem.cs:200)
UnityEngine.XR.Simulation.SimulationMeshSubsystem.AddMeshes (UnityEngine.GameObject environmentRoot) (at Library/PackageCache/com.unity.xr.arfoundation@5.0.0-pre.10/Runtime/Simulation/Subsystems/Meshing/SimulationMeshSubsystem.cs:172)
UnityEngine.XR.Simulation.SimulationMeshSubsystem+<>c__DisplayClass11_0.<OnEnvironmentReady>b__0 () (at Library/PackageCache/com.unity.xr.arfoundation@5.0.0-pre.10/Runtime/Simulation/Subsystems/Meshing/SimulationMeshSubsystem.cs:135)
UnityEditor.EditorApplication.Internal_CallDelayFunctions () (at /Users/bokken/buildslave/unity/build/Editor/Mono/EditorApplication.cs:371)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Invalid Clip Method
- WebGPU error with Fantasy Kingdom and GPU Resident Drawer
- WebGPU fails with height fog in Fantasy Kingdom
- Crash on UndoManager::RegisterUndoInternal when applying added GameObjects to a Prefab
- [Asset Bundles] A new bundle hash is not generated when the name of a serialized field is changed
Resolution Note:
Jira won't let me file as a duplicate as the other issue isn't type Bug, but addressed in ARF-174, and fixed in pre.11
Resolution Note (5.0.X):
Jira won't let me file as a duplicate as the other issue isn't type Bug, but addressed in ARF-174, and fixed in pre.11