Posts: 11
Threads: 3
Joined: Oct 2019
Reputation:
0
31-01-2020, 11:24 AM
(This post was last modified: 31-01-2020, 02:25 PM by IlyaZzz.)
Hello.
I had problems launching my project build on Linux.
I compiled my project with two variants of Obi 4.1 and Obi 5.0. And they were all unsuccessful for me. When I ran the build with Obi 5.0, the application crashed. And when I tried to run it with Obi 4.1, everything was going well, but all cloth on the scene disappeared.
P.s. I did not get any compilation errors.
Posts: 6,321
Threads: 24
Joined: Jun 2017
Reputation:
400
Obi Owner:
31-01-2020, 11:34 AM
(This post was last modified: 31-01-2020, 11:35 AM by josemendez.)
(31-01-2020, 11:24 AM)IlyaZzz Wrote: Hello.
I had problems launching my project build on Linux.
I compiled my project with two variants of Obi 4.1 and Obi 5.0. And they were all unsuccessful for me. When I ran the build with Obi 5.0, the application crashed. And when I tried to run it with Obi 4.0, everything was going well, but all cloth on the scene disappeared.
P.s. I did not get any compilation errors.
Hi,
There was an issue with the Linux lib in 5.0, fixed in 5.1. Try updating and let me know how it goes.
kind regards,
Posts: 11
Threads: 3
Joined: Oct 2019
Reputation:
0
31-01-2020, 12:08 PM
(This post was last modified: 31-01-2020, 12:19 PM by IlyaZzz.)
(31-01-2020, 11:34 AM)josemendez Wrote: Hi,
There was an issue with the Linux lib in 5.0, fixed in 5.1. Try updating and let me know how it goes.
kind regards,
Thank you for your answer.
But what's about Obi 4.1? It's same problem with lib?
Because with obi 4.1 it works better in my project and have better performance with same obi physics settings.
(31-01-2020, 11:34 AM)josemendez Wrote: Hi,
There was an issue with the Linux lib in 5.0, fixed in 5.1. Try updating and let me know how it goes.
kind regards, Could you send me this fixed lib for obi 5.0? I don't have much time to rebuild all obi components (there are a lot of them). Deadline is coming.
Posts: 6,321
Threads: 24
Joined: Jun 2017
Reputation:
400
Obi Owner:
31-01-2020, 01:47 PM
(This post was last modified: 31-01-2020, 01:47 PM by josemendez.)
(31-01-2020, 12:08 PM)IlyaZzz Wrote: Thank you for your answer.
But what's about Obi 4.1? It's same problem with lib?
Because with obi 4.1 it works better in my project and have better performance with same obi physics settings.
Could you send me this fixed lib for obi 5.0? I don't have much time to rebuild all obi components (there are a lot of them). Deadline is coming.
Hi!
The problem with the Linux lib was identified in 5.0, as far as I know there were no issues in 4.1. I could take a look but for that I need a repro project, or at least a log.
There's nothing to update or rebuild when upgrading from 5.0 to 5.1, only major versions tend to be incompatible with existing data from previous ones. (3.X to 4.X, or 4.X to 5.X)
Regarding performance, 5.X should perform better than 4.X (at least it does in all our tests). What shows up in the profiler?
Posts: 11
Threads: 3
Joined: Oct 2019
Reputation:
0
31-01-2020, 02:11 PM
(This post was last modified: 31-01-2020, 02:13 PM by IlyaZzz.)
(31-01-2020, 01:47 PM)Хосемендес Wrote: Привет!
Проблема с Linux lib была выявлена в 5.0, насколько я знаю, в 4.1 не было никаких проблем. Я мог бы взглянуть, но для этого мне нужен проект repro, или, по крайней мере, журнал.
При обновлении с 5.0 до 5.1 обновлять или перестраивать нечего, только основные версии, как правило, несовместимы с существующими данными из предыдущих. (3.X до 4.X или 4.X до 5.X)
Что касается производительности, 5.X должен работать лучше, чем 4.X (по крайней мере, во всех наших тестах). Что отображается в профилировщике? Obi 4.1:
Code: DllNotFoundException: Oni
at (wrapper managed-to-native) Oni.RemoveCollider(intptr)
at Obi.ObiColliderBase.RemoveCollider () [0x00049] in <2a57064bb4aa488085b7e360608f0ad6>:0
at Obi.ObiColliderBase.OnDestroy () [0x00000] in <2a57064bb4aa488085b7e360608f0ad6>:0
(Filename: <2a57064bb4aa488085b7e360608f0ad6> Line: 0)
DllNotFoundException: Oni
at (wrapper managed-to-native) Oni.RemoveCollider(intptr)
at Obi.ObiColliderBase.RemoveCollider () [0x00049] in <2a57064bb4aa488085b7e360608f0ad6>:0
at Obi.ObiColliderBase.OnDestroy () [0x00000] in <2a57064bb4aa488085b7e360608f0ad6>:0
(Filename: <2a57064bb4aa488085b7e360608f0ad6> Line: 0)
DllNotFoundException: Oni
at (wrapper managed-to-native) Oni.RemoveCollider(intptr)
at Obi.ObiColliderBase.RemoveCollider () [0x00049] in <2a57064bb4aa488085b7e360608f0ad6>:0
at Obi.ObiColliderBase.OnDestroy () [0x00000] in <2a57064bb4aa488085b7e360608f0ad6>:0
(Filename: <2a57064bb4aa488085b7e360608f0ad6> Line: 0)
DllNotFoundException: Oni
at (wrapper managed-to-native) Oni.RemoveCollider(intptr)
at Obi.ObiColliderBase.RemoveCollider () [0x00049] in <2a57064bb4aa488085b7e360608f0ad6>:0
at Obi.ObiColliderBase.OnDestroy () [0x00000] in <2a57064bb4aa488085b7e360608f0ad6>:0
(Filename: <2a57064bb4aa488085b7e360608f0ad6> Line: 0)
DllNotFoundException: Oni
at (wrapper managed-to-native) Oni.RemoveCollider(intptr)
at Obi.ObiColliderBase.RemoveCollider () [0x00049] in <2a57064bb4aa488085b7e360608f0ad6>:0
at Obi.ObiColliderBase.OnDestroy () [0x00000] in <2a57064bb4aa488085b7e360608f0ad6>:0
(Filename: <2a57064bb4aa488085b7e360608f0ad6> Line: 0)
DllNotFoundException: Oni
at (wrapper managed-to-native) Oni.RemoveCollider(intptr)
at Obi.ObiColliderBase.RemoveCollider () [0x00049] in <2a57064bb4aa488085b7e360608f0ad6>:0
at Obi.ObiColliderBase.OnDestroy () [0x00000] in <2a57064bb4aa488085b7e360608f0ad6>:0
(Filename: <2a57064bb4aa488085b7e360608f0ad6> Line: 0)
DllNotFoundException: Oni
at (wrapper managed-to-native) Oni.DestroyHalfEdgeMesh(intptr)
at Obi.ObiMeshTopology.OnDisable () [0x00000] in <2a57064bb4aa488085b7e360608f0ad6>:0
(Filename: <2a57064bb4aa488085b7e360608f0ad6> Line: 0)
Plugins: Couldn't open /home/ghost/Рабочий стол/Build_Linux 4/wer_Data/Plugins/x86_64/libOni.so, error: /home/ghost/Рабочий стол/Build_Linux 4/wer_Data/Plugins/x86_64/libOni.so: undefined symbol: _ZN3Oni23FrictionConstraintGroupC1EPNS_24CollisionConstraintGroupEPNS_6SolverE
(Filename: Line: 240)
Fallback handler could not load library /home/ghost/Рабочий стол/Build_Linux 4/wer_Data/Mono/libOni
Fallback handler could not load library /home/ghost/Рабочий стол/Build_Linux 4/wer_Data/Mono/libOni.so
Fallback handler could not load library /home/ghost/Рабочий стол/Build_Linux 4/wer_Data/Mono/Oni
Fallback handler could not load library /home/ghost/Рабочий стол/Build_Linux 4/wer_Data/Mono/libOni
Fallback handler could not load library /home/ghost/Рабочий стол/Build_Linux 4/wer_Data/Mono/libOni.so
Fallback handler could not load library /home/ghost/Рабочий стол/Build_Linux 4/wer_Data/Mono/libOni
DllNotFoundException: Oni
at (wrapper managed-to-native) Oni.DestroyDistanceField(intptr)
at Obi.ObiDistanceField.OnDisable () [0x00000] in <2a57064bb4aa488085b7e360608f0ad6>:0
(Filename: <2a57064bb4aa488085b7e360608f0ad6> Line: 0)
DllNotFoundException: Oni
at (wrapper managed-to-native) Oni.DestroyCollisionMaterial(intptr)
at Obi.ObiCollisionMaterial.OnDisable () [0x00000] in <2a57064bb4aa488085b7e360608f0ad6>:0
(Filename: <2a57064bb4aa488085b7e360608f0ad6> Line: 0)
DllNotFoundException: Oni
at (wrapper managed-to-native) Oni.DestroyCollisionMaterial(intptr)
at Obi.ObiCollisionMaterial.OnDisable () [0x00000] in <2a57064bb4aa488085b7e360608f0ad6>:0
(Filename: <2a57064bb4aa488085b7e360608f0ad6> Line: 0)
DllNotFoundException: Oni
at (wrapper managed-to-native) Oni.DestroyCollisionMaterial(intptr)
at Obi.ObiCollisionMaterial.OnDisable () [0x00000] in <2a57064bb4aa488085b7e360608f0ad6>:0
(Filename: <2a57064bb4aa488085b7e360608f0ad6> Line: 0)
DllNotFoundException: Oni
at (wrapper managed-to-native) Oni.DestroyHalfEdgeMesh(intptr)
at Obi.ObiMeshTopology.OnDisable () [0x00000] in <2a57064bb4aa488085b7e360608f0ad6>:0
(Filename: <2a57064bb4aa488085b7e360608f0ad6> Line: 0)
And so on...
Posts: 6,321
Threads: 24
Joined: Jun 2017
Reputation:
400
Obi Owner:
(31-01-2020, 02:11 PM)IlyaZzz Wrote: Plugins: Couldn't open /home/ghost/Рабочий стол/Build_Linux 4/wer_Data/Plugins/x86_64/libOni.so, error: /home/ghost/Рабочий стол/Build_Linux 4/wer_Data/Plugins/x86_64/libOni.so: undefined symbol: _ZN3Oni23FrictionConstraintGroupC1EPNS_24CollisionConstraintGroupEPNS_6SolverE
This is the same issue found in 5.0, a missing symbol in the lib. Updating to 5.1 will solve it.
Posts: 11
Threads: 3
Joined: Oct 2019
Reputation:
0
(03-02-2020, 09:05 AM)josemendez Wrote: This is the same issue found in 5.0, a missing symbol in the lib. Updating to 5.1 will solve it.
I updated to 5.1. Its fine. But I have problems after migration from obi 4.1.
|