Open thebenga opened 3 years ago
I congratz for this great tool. I encounter those error in some specific contexts. Any idea of what's happening, in order for me to understand if I can fix this of if it's a bug. error when autoproject with some houdini objects around.
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) (at <9577ac7a62ef43179789031239ba8798>:0) System.ThrowHelper.ThrowArgumentOutOfRangeException () (at <9577ac7a62ef43179789031239ba8798>:0) SamDriver.Decal.MeshProjection.ScheduleTrimJobs (System.Collections.Generic.Listb__0 () (at <1b64b06f536e44ebb2ace8cd6da8538a>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
1[SamDriver.Decal.RawMesh]& rawMeshes, System.Collections.Generic.List
1[Unity.Collections.NativeArray1[SamDriver.Decal.Triangle]]& allResultingTriangles, System.Collections.Generic.List
1[Unity.Jobs.JobHandle]& trimJobHandles, UnityEngine.Transform decalTransform, System.Collections.Generic.IEnumerable1[T] meshFilters, System.Boolean shouldUsePersistentAllocation, System.Boolean immediatelyStart) (at PackagesDisk/driven-decals-master/Runtime/MeshProjection.cs:206) SamDriver.Decal.MeshProjection.GenerateProjectedDecalMesh (System.Collections.Generic.IEnumerable
1[T] meshFilters, UnityEngine.Transform decalTransform) (at PackagesDisk/driven-decals-master/Runtime/MeshProjection.cs:269) SamDriver.Decal.DecalMesh.GenerateProjectedMeshImmediate () (at PackagesDisk/driven-decals-master/Runtime/DecalMesh.cs:313) SamDriver.Decal.DecalMeshInspector.ProjectMeshButtonGUI (SamDriver.Decal.DecalMesh primaryItem, SamDriver.Decal.DecalMesh[] items, System.Boolean isEditingMultipleObjects) (at PackagesDisk/driven-decals-master/Editor/DecalMeshInspector.cs:89) SamDriver.Decal.DecalMeshInspector.OnInspectorGUI () (at PackagesDisk/driven-decals-master/Editor/DecalMeshInspector.cs:42) UnityEditor.UIElements.InspectorElement+<>c__DisplayClass58_0.