Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BSoftBody editor not saving mesh data? #76

Open
iakat opened this issue Sep 22, 2020 · 4 comments
Open

BSoftBody editor not saving mesh data? #76

iakat opened this issue Sep 22, 2020 · 4 comments

Comments

@iakat
Copy link

iakat commented Sep 22, 2020

Hi, I am having this issue but I am not sure whether I am doing something wrong or not.

I am running the git version of BulletSharp, and I even tried #54 with no luck.

BSoftBody editor for me does not save the mesh data which results in not being able to edit+save any settings, see this video for an example

Even getting all settings right and then trying to save it, I get this error when play testing, where Wheel 1 is my BSoftBody.

Could not build mesh from meshSettings for Wheel 1 (BulletUnity.BSoftBodyWMesh)
UnityEngine.Debug:LogError(Object)
BulletUnity.BSoftBodyWMesh:_BuildCollisionObject() (at Assets/BulletUnity/Scripts/SoftBody/BSoftBodyWMesh.cs:33)
BulletUnity.BCollisionObject:GetCollisionObject() (at Assets/BulletUnity/Scripts/BCollisionObject.cs:168)
BulletUnity.BSoftBodyEditor:OnSceneGUI() (at Assets/BulletUnity/Scripts/Editor/BSoftBodyEditor.cs:239)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Any tips would be appreciated. Thanks!

@iakat
Copy link
Author

iakat commented Sep 22, 2020

I think this happens to a lesser degree to the RigidBody editor as well, where the mesh renderer does not get the mesh data

@Phong13
Copy link
Owner

Phong13 commented Sep 23, 2020

Will try to take a look later today. Are you using Unity 2019?

@iakat
Copy link
Author

iakat commented Sep 23, 2020

Yes, 2019.4 (full version on the top left in the video linked). Thanks a lot!

@Phong13
Copy link
Owner

Phong13 commented Sep 24, 2020

I am able to reproduce the problem. Hope to push a solution in a few days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants