Skip to content

error when autoproject with some houdini objects around. #15

@thebenga

Description

@thebenga

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.List1[SamDriver.Decal.RawMesh]& rawMeshes, System.Collections.Generic.List1[Unity.Collections.NativeArray1[SamDriver.Decal.Triangle]]& allResultingTriangles, System.Collections.Generic.List1[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.IEnumerable1[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.b__0 () (at <1b64b06f536e44ebb2ace8cd6da8538a>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions