Search Issue Tracker
Won't Fix
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
- Timeline section stops rendering after restoring Profiler Window modules
- Cursor image does not update when Cursor.SetCursor is called again with CursorMode.Auto
- Crash on do_runtime_invoke when reopening a specific project after failing to build it
- Animations change speed when rigidbody is added
- Low FPS persists when re-entering Play mode after an extended session in a specific project
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