Latest Threads |
Stretching verts uniforml...
Forum: Obi Softbody
Last Post: Aroosh
Yesterday, 05:32 AM
» Replies: 0
» Views: 68
|
Scripting rod forces
Forum: Obi Rope
Last Post: chenji
11-09-2025, 01:15 PM
» Replies: 25
» Views: 2,767
|
Burst error causing crash...
Forum: Obi Rope
Last Post: josemendez
10-09-2025, 07:03 AM
» Replies: 1
» Views: 185
|
Controlling speed of emit...
Forum: Obi Fluid
Last Post: josemendez
06-09-2025, 06:29 AM
» Replies: 1
» Views: 436
|
Looks nice on editor but ...
Forum: Obi Fluid
Last Post: josemendez
04-09-2025, 07:20 AM
» Replies: 3
» Views: 688
|
How to Shorten or Scale t...
Forum: Obi Rope
Last Post: josemendez
02-09-2025, 09:53 AM
» Replies: 5
» Views: 777
|
The Limitation of Using O...
Forum: Obi Rope
Last Post: josemendez
01-09-2025, 10:30 PM
» Replies: 1
» Views: 518
|
Bug Where a Straight Segm...
Forum: Obi Rope
Last Post: josemendez
01-09-2025, 08:46 PM
» Replies: 1
» Views: 491
|
Having an issue with obi ...
Forum: Obi Rope
Last Post: Ben_bionic
29-08-2025, 04:23 PM
» Replies: 4
» Views: 986
|
Non-uniform particle dist...
Forum: Obi Rope
Last Post: chenji
29-08-2025, 09:05 AM
» Replies: 4
» Views: 834
|
|
|
Possible memory leak? |
Posted by: LogaNRV - 24-03-2021, 03:11 AM - Forum: Obi Cloth
- Replies (14)
|
 |
Hi
I recently found that a memory leak in my scene stops if I disable the Obi solver.
I intend to try to reproduce this in a new smaller scene later, to do a better report, but for now I would like your opinion about this.
I'm using the last Obi version, in the last Unity 2019.4.22, and Windows 7 (64 bit).
My scene has 3 Obi clothes, each near an Obi Spherical Force (to simulate wind), and also around 20 gameobjects with Obi colliders and Obi rigidbodies (all of them Non Kinematic to particles).
I also have the Obi rope an Obi softbody assets in the project, but haven't added any of those elements yet.
The solver is configured like this:
The Obi force is like this: (if I disable the gameobjects with these forces the leak still happens, so I don't think they are related)
The leak happens in the editor and in PC builds, and you could say that it "eats" 1GB of ram in something like 200 seconds, so the application ends crashing after some time.
Other problem that I have seen, that I don't know if is related to the leak, is that if I have the solver enabled, but disable the 3 Obi clothes (that are children of the Obi solver object), then I start getting errors like these:
This is for some of the objects that have Obi colliders and Obi rigidbodies.
If you have an Obi solver maybe you need to have at least some Obi particles in the scene?
|
|
|
IndexOutOfRangeException: Index 11 is out of range of '11' Length. |
Posted by: Haleluya - 23-03-2021, 10:25 AM - Forum: Obi Rope
- Replies (3)
|
 |
Hi there,
I got some errors on the obi rope. How do I fix this?
Thank you.
IndexOutOfRangeException: Index 11 is out of range of '11' Length.
Unity.Collections.NativeArray`1[T].FailOutOfRangeError (System.Int32 index) (at <42a5878ce129403083acccf18e43363f>:0)
Unity.Collections.NativeArray`1[T].CheckElementReadAccess (System.Int32 index) (at <42a5878ce129403083acccf18e43363f>:0)
Unity.Collections.NativeArray`1[T].get_Item (System.Int32 index) (at <42a5878ce129403083acccf18e43363f>:0)
Obi.BurstColliderWorld+GenerateContactsJob.Execute (System.Int32 i) (at Assets/Third Party/Obi/Scripts/Common/Backends/Burst/Collisions/BurstColliderWorld.cs:335)
Unity.Jobs.IJobParallelForExtensions+ParallelForJobStruct`1[T].Execute (T& jobData, System.IntPtr additionalPtr, System.IntPtr bufferRangePatchData, Unity.Jobs.LowLevel.Unsafe.JobRanges& ranges, System.Int32 jobIndex) (at <42a5878ce129403083acccf18e43363f>:0)
|
|
|
Bug in rope blueprint editing |
Posted by: mike c - 22-03-2021, 02:16 PM - Forum: Obi Rope
- Replies (4)
|
 |
When modifying blueprints I am seeing many sub assets created (these do not correspond to points in I'm editing). While editing I'm also experiencing very long waits as the assets are processed, presumably as it created dozens of those particle group sub objects.
Really killin' my vibe at the moment.
|
|
|
It's just a phase, mom! |
Posted by: the-lander - 21-03-2021, 02:44 PM - Forum: Obi Softbody
- Replies (6)
|
 |
Hello!
I have two questions about phases.
1. Is there a way to get a phase of an ObiActor? I know I can set one via SetPhase() and I think I can get a phase of a ObiCollider, but what about softbodies?
2. Can I adjust phases like physics collision layers in Unity? Here's why do I need this:
- I need my softbody player to roll through the level, so I apply torque.
- I need the player to push other similar sized softbody opponents like they're nothing, like a golf ball pushes table tennis balls. But as I apply torque, instead of pushing, player climbs over them. Setting all frictions to zero doesn't help. Reducing opponents masses makes things worse.
- So I've attached a sphere with ObiCollider to my player.transform as a child and got it player's phase. Now the sphere does the pushing, but I need to prevent player from interacting with the opponents. But I need opponents to be able to interact with each other.
Thank you )
|
|
|
Ropes are really wiggly and stretched out |
Posted by: daniaalazmat - 21-03-2021, 12:30 PM - Forum: Obi Rope
- Replies (3)
|
 |
Hi,
I am using ObiRopes in my project and I really loved the asset in action (In the sample scenes I mean), but I tried to implement it in my scene but I am kind of struggling with making it work realistically as possible but I was not able to make it work realistic enough
Thanks,
Daniaal
|
|
|
|