-
Notifications
You must be signed in to change notification settings - Fork 234
Open
Description
Describe the bug
On scene unload or editor play mode stop I get the error
NullReferenceException: Object reference not set to an instance of an object
Deform.Deformable.IsVisible () (at Library/PackageCache/com.beans.deform@3802324a6b/Code/Runtime/Mesh/Deformable.cs:235)
Deform.Deformable.ShouldCull (System.Boolean ignoreCullingMode) (at Library/PackageCache/com.beans.deform@3802324a6b/Code/Runtime/Mesh/Deformable.cs:241)
Deform.Deformable.ApplyData (System.Boolean ignoreCullingMode) (at Library/PackageCache/com.beans.deform@3802324a6b/Code/Runtime/Mesh/Deformable.cs:345)
Deform.Deformable.ApplyData () (at Library/PackageCache/com.beans.deform@3802324a6b/Code/Runtime/Mesh/Deformable.cs:359)
Deform.DeformableManager.CompleteDeformables (System.Collections.Generic.HashSet`1[T] deformables) (at Library/PackageCache/com.beans.deform@3802324a6b/Code/Runtime/Core/DeformableManager.cs:103)
Deform.DeformableManager.OnDisable () (at Library/PackageCache/com.beans.deform@3802324a6b/Code/Runtime/Core/DeformableManager.cs:77)
To Reproduce
Steps to reproduce the behavior:
- Add any deformer to the scene
- Apply deformation
- Hit Stop editor
- See error
- OS: Windows 11, MacOS
- Unity: 2021.2.17f1
- Deform version: smooth-normals version 1.2.1
Metadata
Metadata
Assignees
Labels
No labels