Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  Ubuntu Editor errors
#1
Hi,

I've used Obi Rope successfully on a windows machine.
When loading the scene in a Linux editor, I get the following errors:


DllNotFoundException: libOni
Obi.ObiBoxShapeTracker..ctor (UnityEngine.BoxCollider collider) (at Assets/ZZZ_External/Obi/Scripts/Collisions/ColliderTrackers/Trackers3D/ObiBoxShapeTracker.cs:14)
Obi.ObiCollider.CreateTracker () (at Assets/ZZZ_External/Obi/Scripts/Collisions/ObiCollider.cs:65)
Obi.ObiColliderBase.AddCollider () (at Assets/ZZZ_External/Obi/Scripts/Collisions/ObiColliderBase.cs:129)
Obi.ObiCollider.Awake () (at Assets/ZZZ_External/Obi/Scripts/Collisions/ObiCollider.cs:111)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)



DllNotFoundException: libOni
Obi.ObiColliderBase.OnDisable () (at Assets/ZZZ_External/Obi/Scripts/Collisions/ObiColliderBase.cs:235)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)



DllNotFoundException: libOni
Obi.ObiSolver.Initialize () (at Assets/ZZZ_External/Obi/Scripts/Solver/ObiSolver.cs:311)
UnityEngine.Debug:LogException(Exception)
Obi.ObiSolver:Initialize() (at Assets/ZZZ_External/Obi/Scripts/Solver/ObiSolver.cs:438)
Obi.ObiSolver:OnEnable() (at Assets/ZZZ_External/Obi/Scripts/Solver/ObiSolver.cs:277)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)



DllNotFoundException: libOni
Obi.ObiConstraintBatch.Enable () (at Assets/ZZZ_External/Obi/Scripts/Constraints/ConstraintBatches/ObiConstraintBatch.cs:132)
Obi.ObiBatchedConstraints.Enable () (at Assets/ZZZ_External/Obi/Scripts/Constraints/ObiBatchedConstraints.cs:71)
Obi.ObiBatchedConstraints.OnEnable () (at Assets/ZZZ_External/Obi/Scripts/Constraints/ObiBatchedConstraints.cs:127)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)



DllNotFoundException: libOni
Obi.ObiColliderBase.OnDisable () (at Assets/ZZZ_External/Obi/Scripts/Collisions/ObiColliderBase.cs:235)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)


Please advise.

Thanks in advance
Reply
#2
(08-07-2019, 07:33 AM)Nir Hermoni Wrote: Hi,

I've used Obi Rope successfully on a windows machine.
When loading the scene in a Linux editor, I get the following errors:


DllNotFoundException: libOni
Obi.ObiBoxShapeTracker..ctor (UnityEngine.BoxCollider collider) (at Assets/ZZZ_External/Obi/Scripts/Collisions/ColliderTrackers/Trackers3D/ObiBoxShapeTracker.cs:14)
Obi.ObiCollider.CreateTracker () (at Assets/ZZZ_External/Obi/Scripts/Collisions/ObiCollider.cs:65)
Obi.ObiColliderBase.AddCollider () (at Assets/ZZZ_External/Obi/Scripts/Collisions/ObiColliderBase.cs:129)
Obi.ObiCollider.Awake () (at Assets/ZZZ_External/Obi/Scripts/Collisions/ObiCollider.cs:111)
UnityEngine.GUIUtilityLenguarocessEvent(Int32, IntPtr)



DllNotFoundException: libOni
Obi.ObiColliderBase.OnDisable () (at Assets/ZZZ_External/Obi/Scripts/Collisions/ObiColliderBase.cs:235)
UnityEngine.GUIUtilityLenguarocessEvent(Int32, IntPtr)



DllNotFoundException: libOni
Obi.ObiSolver.Initialize () (at Assets/ZZZ_External/Obi/Scripts/Solver/ObiSolver.cs:311)
UnityEngine.Debug:LogException(Exception)
Obi.ObiSolver:Initialize() (at Assets/ZZZ_External/Obi/Scripts/Solver/ObiSolver.cs:438)
Obi.ObiSolver:OnEnable() (at Assets/ZZZ_External/Obi/Scripts/Solver/ObiSolver.cs:277)
UnityEngine.GUIUtilityLenguarocessEvent(Int32, IntPtr)



DllNotFoundException: libOni
Obi.ObiConstraintBatch.Enable () (at Assets/ZZZ_External/Obi/Scripts/Constraints/ConstraintBatches/ObiConstraintBatch.cs:132)
Obi.ObiBatchedConstraints.Enable () (at Assets/ZZZ_External/Obi/Scripts/Constraints/ObiBatchedConstraints.cs:71)
Obi.ObiBatchedConstraints.OnEnable () (at Assets/ZZZ_External/Obi/Scripts/Constraints/ObiBatchedConstraints.cs:127)
UnityEngine.GUIUtilityLenguarocessEvent(Int32, IntPtr)



DllNotFoundException: libOni
Obi.ObiColliderBase.OnDisable () (at Assets/ZZZ_External/Obi/Scripts/Collisions/ObiColliderBase.cs:235)
UnityEngine.GUIUtilityLenguarocessEvent(Int32, IntPtr)


Please advise.

Thanks in advance


Simply restart Unity. See the FAQ:
http://obi.virtualmethodstudio.com/tutorials/
Reply
#3
(08-07-2019, 08:04 AM)josemendez Wrote: Simply restart Unity. See the FAQ:
http://obi.virtualmethodstudio.com/tutorials/

Thanks for the reply. It didn't work. 
The errors show up when I load the scene with a rope. I can clear them, but they reappear in play mode.
Reply
#4
Seems something is bork with newer versions of Unity. 2018.3.5 I had to manually copy libOni.so into Mono/lib. with 2018.4.8 it still can't find it.

Previous thread: http://obi.virtualmethodstudio.com/forum...d-964.html

Unity is still looking in $blah/Mono/lib but just won't load the damn thing Triste

Refreshing native plugins compatible for Editor in 3.72 ms, found 2 plugins.
Fallback handler could not load library /home/phosphers/Unity/Hub/Editor/2018.4.8f1/Editor/Data/Mono/lib/libOni
Fallback handler could not load library /home/phosphers/Unity/Hub/Editor/2018.4.8f1/Editor/Data/Mono/lib/libOni.so
Fallback handler could not load library /home/phosphers/Unity/Hub/Editor/2018.4.8f1/Editor/Data/Mono/lib/./libOni
Fallback handler could not load library /home/phosphers/Unity/Hub/Editor/2018.4.8f1/Editor/Data/Mono/lib/./libOni.so
Fallback handler could not load library /home/phosphers/Unity/Hub/Editor/2018.4.8f1/Editor/Data/Mono/lib/libOni
Fallback handler could not load library /home/phosphers/Unity/Hub/Editor/2018.4.8f1/Editor/Data/Mono/lib/libOni
Fallback handler could not load library /home/phosphers/Unity/Hub/Editor/2018.4.8f1/Editor/Data/Mono/lib/libOni.so
Fallback handler could not load library /home/phosphers/Unity/Hub/Editor/2018.4.8f1/Editor/Data/Mono/lib/./libOni
Fallback handler could not load library /home/phosphers/Unity/Hub/Editor/2018.4.8f1/Editor/Data/Mono/lib/./libOni.so
Fallback handler could not load library /home/phosphers/Unity/Hub/Editor/2018.4.8f1/Editor/Data/Mono/lib/libOni
DllNotFoundException: libOni

And libOni.so is in that directory
Reply