Obi Official Forum
Bug / Crash Editing Particles broken - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Cloth (https://obi.virtualmethodstudio.com/forum/forum-2.html)
+--- Thread: Bug / Crash Editing Particles broken (/thread-706.html)



Editing Particles broken - TheCarterlilley - 03-10-2018

So I'm using 2018 8.2.9f1, and unless I'm very stupid, it appears ObiCloth doesn't function at all in this version. The particle editor seems to glitch out the entire system

Here's what it looks like when it happens..
https://youtu.be/IN4F-pEbJ9w

Here's a link to my error console...
https://ibb.co/itNFzK


RE: Editing Particles broken - josemendez - 03-10-2018

(03-10-2018, 01:54 AM)TheCarterlilley Wrote: So I'm using 2018 8.2.9f1, and unless I'm very stupid, it appears ObiCloth doesn't function at all in this version. The particle editor seems to glitch out the entire system

Here's what it looks like when it happens..
https://youtu.be/IN4F-pEbJ9w

Here's a link to my error console...
https://ibb.co/itNFzK

Seems to me that there are missing assets in your Obi installation. For starters, the "Edit particles" button should be much larger and have an icon. Also the null ref exception shown in your log refers to a line that requires a editor resource called "PropertyGradientMaterial", used to draw the particles in the editor.

Make sure that the "/Obi/Editor/Resources" folder exists in your project, and that it contains a material named "PropertyGradientMaterial".


RE: Editing Particles broken - TheCarterlilley - 03-10-2018

(03-10-2018, 08:40 AM)josemendez Wrote: Seems to me that there are missing assets in your Obi installation. For starters, the "Edit particles" button should be much larger and have an icon. Also the null ref exception shown in your log refers to a line that requires a editor resource called "PropertyGradientMaterial", used to draw the particles in the editor.

Make sure that the "/Obi/Editor/Resources" folder exists in your project, and that it contains a material named "PropertyGradientMaterial".

Thanks for the hasty reply! You guys rock.

Seems that it isn't in the root of that folder, or in the materials folder, as you can see from the screenshots below. But a search for it does turn up something, which means it's in my project somewhere...

I installed it straight from the asset store so it would be odd if I was missing pieces somehow. 

https://ibb.co/cfReTe
https://ibb.co/ecwPuK
https://ibb.co/drQv1z


RE: Editing Particles broken - TheCarterlilley - 04-10-2018

Hello? Making sure you guys have seen my response

EDIT: So it looks like, if I delete Obi and reinstall it from the asset store; these two top boxes are grayed out, and not able to be turned on.

https://imgur.com/a/Qj2CsaB

Whats up with that?


RE: Editing Particles broken - josemendez - 05-10-2018

(04-10-2018, 07:55 PM)TheCarterlilley Wrote: Hello? Making sure you guys have seen my response

EDIT: So it looks like, if I delete Obi and reinstall it from the asset store; these two top boxes are grayed out, and not able to be turned on.

https://imgur.com/a/Qj2CsaB

Whats up with that?

What Obi version are you using? These two folders are not included anymore since 2.x. They will appear grayed if the package you're installing contains them, but they're already in the project.


RE: Editing Particles broken - TheCarterlilley - 06-10-2018

Okay! So, it looks like we've figured it out at least part way. It seems I had an older installation in an older unity project and when I copied over some assets, I took those folders as well. 

Deleted them, re-downloaded Obi Cloth, and it appears to work, the GUI looks as it should, and I can edit particles. Unfortunately, now I'm running into an issue where the mesh doesn't want to cling to the base, as you can see below.

https://youtu.be/V-kkK65wCZ0

The setup for the mesh and cloth is as follows;
Main Char Group
-OBI Solver
-Obi Rigidbody
Skirt Mesh
-Obi Cloth
-Obi Cloth Proxy
Joints
-Obi Colliders

And the cloth is definitely animating a bit like it's supposed to, but it just seems to "lag" behind the model.


RE: Editing Particles broken - josemendez - 07-10-2018

(06-10-2018, 06:40 PM)TheCarterlilley Wrote: Okay! So, it looks like we've figured it out at least part way. It seems I had an older installation in an older unity project and when I copied over some assets, I took those folders as well. 

Deleted them, re-downloaded Obi Cloth, and it appears to work, the GUI looks as it should, and I can edit particles. Unfortunately, now I'm running into an issue where the mesh doesn't want to cling to the base, as you can see below.

https://youtu.be/V-kkK65wCZ0

The setup for the mesh and cloth is as follows;
Main Char Group
-OBI Solver
-Obi Rigidbody
Skirt Mesh
-Obi Cloth
-Obi Cloth Proxy
Joints
-Obi Colliders

And the cloth is definitely animating a bit like it's supposed to, but it just seems to "lag" behind the model.

Hi!

Make sure your Animator is set to UpdatePhysics, and your solver update mode is set to AfterFixedUpdate. This way, physics will be updated after animation every frame.


RE: Editing Particles broken - TheCarterlilley - 08-10-2018

So my animator doesn't have an "update physics" choice, it has an animate physics choice. However, after playing around with the two setting I've gotten it to stick with a "normal" update mode on the animator and a "late update" for the simulation order.

Now, I'm getting some clipping issues with my characters thighs and legs, see here:
https://www.youtube.com/watch?v=zoNp9x_-WSA

Applying colliders to anything in the joint hierarchy creates this incredibly weird echo effect:
https://www.youtube.com/watch?v=9fqBKfNm28M

Sorry about the continuous questions! This will hopefully be my main solution for equipment and items in this and future games I create, so I want to make sure I have a full understanding of the tool i'm working with. 

Thanks for everything!


RE: Editing Particles broken - TheCarterlilley - 11-10-2018

Bump.