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
- Specular lighting visible in a camera with Path Tracing when Preserve specular lighting is disabled in observed material
- Cinemachine package throws CS1061 errors in the Console when installed in a project that has HDRP and URP installed
- Editor.log file size grows rapidly when a scene exceeds the "Maximum Shadow on Screen" limit setting in the HDRP Asset
- Player build freezes after calling Application.Quit() when the scripting backend is set to IL2CPP
- Texture is not applied on a Custom Render Texture when a Cubemap is selected as the texture
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