Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

Display error of running program unity #6

Description

@weiyu666

企业微信截图_8cca59d1-9d9e-40ee-a0b4-c76889af3c7d

Or display such an error:
`UnassignedReferenceException: The variable clothSolver of GPUClothSimulation has not been assigned.
You probably need to assign the clothSolver variable of the GPUClothSimulation script in the inspector.
GPUClothSimulation.SimulateOneTimeStep () (at Assets/GPUClothSimulation/Scripts/GPUClothSimulation.cs:137)
GPUClothSimulation.Update () (at Assets/GPUClothSimulation/Scripts/GPUClothSimulation.cs:113)

NullReferenceException: Object reference not set to an instance of an object
GPUClothSimulationLegacy.DispatchKernels () (at Assets/GPUClothSimulation/Scripts/GPUClothSimulationLegacy.cs:445)
GPUClothSimulationLegacy.FixedUpdate () (at Assets/GPUClothSimulation/Scripts/GPUClothSimulationLegacy.cs:204)

IndexOutOfRangeException: Index was outside the bounds of the array.
GPUClothSimulation.Start () (at Assets/GPUClothSimulation/Scripts/GPUClothSimulation.cs:97)`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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