Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  ObiSphereShapeTracker Error
#1
Hello,sample scene of obi fluid is working,
After I upgraded obi fluid package,I am getting error and no particles available in my scene.

Here the problems

@lidiamartinez

https://www.dropbox.com/s/gxeyht31ftxzv8...8.png?dl=0

https://www.dropbox.com/s/caalorqefinq2q...5.png?dl=0



I copied and pasted Solver from sample scene, but still it is not working
Reply
#2
Hi there,

No changes in the collision detection pipeline have been made in Obi since 6.2, so upgrading from a relatively new version to the latest one should make no difference in this regard. What version did you upgrade from, and to what version? Are there other error messages in your console, apart from this one?

Line 35 of ObiSphereShapeTracker is this:
Code:
shape.rigidbodyIndex = source.Rigidbody != null ? source.Rigidbody.handle.index : -1;

the only thing that can be null here is "source", which is the Collider component that the ObiCollider wraps around. This is automatically set when you create the ObiCollider component and Unity won't allow you to destroy the Collider component without removing the ObiCollider first, so either A) there's been a serialization issue in your scene and components are missing or B) some other code is forcing "source" to be null.
Reply