ArgumentNullException: Value cannot be null.
Parameter name: buffer
UnityEngine.ComputeShader.SetBuffer (System.Int32 kernelIndex, System.Int32 nameID, UnityEngine.ComputeBuffer buffer) (at <d87da959c26443e0baa9578975afed03>:0)
UnityEngine.ComputeShader.SetBuffer (System.Int32 kernelIndex, System.String name, UnityEngine.ComputeBuffer buffer) (at <d87da959c26443e0baa9578975afed03>:0)
Obi.ComputeSolverImpl.SetDeformableTriangles (Obi.ObiNativeIntList indices, Obi.ObiNativeVector2List uvs) (at Assets/Obi/Scripts/Common/Backends/Compute/Solver/ComputeSolverImpl.cs:354)
Obi.ObiSolver.PushDeformableTriangles () (at Assets/Obi/Scripts/Common/Solver/ObiSolver.cs:1389)
Obi.ObiSolver.BeginStep (System.Single stepTime) (at Assets/Obi/Scripts/Common/Solver/ObiSolver.cs:1628)
Obi.ObiUpdater.BeginStep (System.Single stepDeltaTime) (at Assets/Obi/Scripts/Common/Updaters/ObiUpdater.cs:64)
Obi.ObiFixedUpdater.FixedUpdate () (at Assets/Obi/Scripts/Common/Updaters/ObiFixedUpdater.cs:44)
Compute shader (DeformableTriangles): Property (deformableTriangleUVs) at kernel index (1) is not set
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Obi.ComputeSolverImpl:ApplyInterpolation (Obi.ObiNativeVector4List,Obi.ObiNativeQuaternionList,single,single) (at Assets/Obi/Scripts/Common/Backends/Compute/Solver/ComputeSolverImpl.cs:953)
Obi.ObiSolver:Interpolate (single,single) (at Assets/Obi/Scripts/Common/Solver/ObiSolver.cs:1740)
Obi.ObiUpdater:Interpolate (single,single) (at Assets/Obi/Scripts/Common/Updaters/ObiUpdater.cs:133)
Obi.ObiFixedUpdater:Update () (at Assets/Obi/Scripts/Common/Updaters/ObiFixedUpdater.cs:61)
something went wrong with my project in Obi7.0 Cloth with compute backend,
this project is from Obi6.0, and i just changed the backend and fixed some changement on "solverIndices".
these errors stuck my project.
i also tried some demo scenes in Obi7.0,and just changed the backend to compute, it sometimes poped out such error but still could run and work.
how can i fix it?
Parameter name: buffer
UnityEngine.ComputeShader.SetBuffer (System.Int32 kernelIndex, System.Int32 nameID, UnityEngine.ComputeBuffer buffer) (at <d87da959c26443e0baa9578975afed03>:0)
UnityEngine.ComputeShader.SetBuffer (System.Int32 kernelIndex, System.String name, UnityEngine.ComputeBuffer buffer) (at <d87da959c26443e0baa9578975afed03>:0)
Obi.ComputeSolverImpl.SetDeformableTriangles (Obi.ObiNativeIntList indices, Obi.ObiNativeVector2List uvs) (at Assets/Obi/Scripts/Common/Backends/Compute/Solver/ComputeSolverImpl.cs:354)
Obi.ObiSolver.PushDeformableTriangles () (at Assets/Obi/Scripts/Common/Solver/ObiSolver.cs:1389)
Obi.ObiSolver.BeginStep (System.Single stepTime) (at Assets/Obi/Scripts/Common/Solver/ObiSolver.cs:1628)
Obi.ObiUpdater.BeginStep (System.Single stepDeltaTime) (at Assets/Obi/Scripts/Common/Updaters/ObiUpdater.cs:64)
Obi.ObiFixedUpdater.FixedUpdate () (at Assets/Obi/Scripts/Common/Updaters/ObiFixedUpdater.cs:44)
Compute shader (DeformableTriangles): Property (deformableTriangleUVs) at kernel index (1) is not set
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Obi.ComputeSolverImpl:ApplyInterpolation (Obi.ObiNativeVector4List,Obi.ObiNativeQuaternionList,single,single) (at Assets/Obi/Scripts/Common/Backends/Compute/Solver/ComputeSolverImpl.cs:953)
Obi.ObiSolver:Interpolate (single,single) (at Assets/Obi/Scripts/Common/Solver/ObiSolver.cs:1740)
Obi.ObiUpdater:Interpolate (single,single) (at Assets/Obi/Scripts/Common/Updaters/ObiUpdater.cs:133)
Obi.ObiFixedUpdater:Update () (at Assets/Obi/Scripts/Common/Updaters/ObiFixedUpdater.cs:61)
something went wrong with my project in Obi7.0 Cloth with compute backend,
this project is from Obi6.0, and i just changed the backend and fixed some changement on "solverIndices".
these errors stuck my project.
i also tried some demo scenes in Obi7.0,and just changed the backend to compute, it sometimes poped out such error but still could run and work.
how can i fix it?