extension-rive icon indicating copy to clipboard operation
extension-rive copied to clipboard

Cannot open projects with any Rive model/scene on Windows and Ubuntu

Open paweljarosz opened this issue 3 years ago • 16 comments

As mentioned here https://forum.defold.com/t/rive-support-alpha-testing/69115/19 I cannot open an example project from this repository - Editor loads and closes abruptly. Last test with Defold alpha 1.3.3.

I tried today on Ubuntu and downloaded the newest alpha (1.3.3) for Linux and extension-rive-main, but the same - I open Defold, select to open game.project from extension-rive-main and it starts to load, but then abruptly closes, before the Editor is opened.

paweljarosz avatar May 05 '22 09:05 paweljarosz

I'm not able to reproduce this using 1.3.2 stable or 1.3.3 alpha using macOS. Could you please launch the editor from a terminal and see if you get any additional clues from the log?

britzl avatar May 11 '22 12:05 britzl

The same happened to me, but I got an error log hs_err_pid5576.log .

ghostphoria avatar May 13 '22 07:05 ghostphoria

For me, the editor quits abruptly, in terminal I can only see: log_extenstion_rive.log

paweljarosz avatar May 13 '22 08:05 paweljarosz

@ghostphoria it looks like you are using Windows. Is this correct?

@paweljarosz and @ghostphoria this happens for you when opening a project using extension-rive or when you open the extension-rive project itself?

britzl avatar May 13 '22 09:05 britzl

For me this happens when I choose to "Open from disk" and select game.project of extension-rive - a loading bar shows for few seconds and then disappear and there is no Defold process nor any popup (on Linux). On Windows there is a popup regarding "OpenJDK Platform binary stopped working".

Also, when I open an empty Defold project, Editor is opened, then I add some rive scene to assets and I try to open it in Editor - instantly closes with no error popup.

paweljarosz avatar May 13 '22 09:05 paweljarosz

I can reproduce on Windows.

britzl avatar May 13 '22 10:05 britzl

I'm using Windows 10. It's the extension-rive project itself.

ghostphoria avatar May 13 '22 23:05 ghostphoria

I did an update today and downloaded a new extension-rive.zip. The same happens, after trying to open a game.project from extension-rive, the loading bars shows for a moment and abruptly quits. Logs (there were only two lines (87 and 88) added after opening the game.project). Ubuntu 20.04.

editor2.2022-06-20.log

paweljarosz avatar Jun 20 '22 15:06 paweljarosz

Still no luck with finding the issue, right? :( Still no running with newest extension and Defold (1.3.4)

paweljarosz avatar Jul 08 '22 13:07 paweljarosz

I tried to add the extension-rive to an empty project on Defold 1.3.5. The editor manages to open, but I get an error telling me the extension is incompatible with this version of the editor.

I'm on Fedora 36, and I managed to extract the log:

editor.log

The relevant bit seems to be the following:

2022-09-16 17:54:06.049 INFO  default    editor.workspace - {:line 330, :msg "Loading plugin defold-rive/editor/src/rive.clj"}
Performance warning, null:437:3 - case has int tests, but tested expression is not primitive.
Performance warning, null:448:3 - case has int tests, but tested expression is not primitive.
2022-09-16 17:54:07.190 ERROR default    editor.workspace - {:line 338, :msg "Exception while loading plugin: Syntax error compiling at (NO_SOURCE_FILE:763:1)."}

I tried to downgrade the engine, but it crashes after a while. That's the same situation reported in the other posts. What can I do to help fix this issue?

KL-B0 avatar Sep 16 '22 16:09 KL-B0

Thank you everyone for reporting this issue. We are working on an updated renderer that will be much faster and provide textured meshes. I can't guarantee that we'll fix this since the update to the new renderer will make this issue obsolete.

britzl avatar Sep 18 '22 20:09 britzl

@britzl do you have a rough estimate of when it will reach release?

KL-B0 avatar Sep 19 '22 07:09 KL-B0

@KL-B0 we're working on a runtime update and should be done by end of next week.

britzl avatar Sep 22 '22 21:09 britzl

Getting back after some time and updates to extension. I downloaded newest version (tag 0.13.0) - I can open now Rive extension without any problem on Windows, but there is another problem, when trying to run it:

Error: java.lang.AssertionError: Assert failed: Attempting to select nil values (every? some? node-ids)

And in Build Errors there is:

/main/bones/bones.collection The file 'null' could not be loaded

By clicking Report it opens defold's main repo, but I think it is related to extension-rive, but here's the table:

Build time2023-01-31T13:11:13.422670
Defold channeleditor-alpha
Defold editor sha58bac6dd5a773e01f3a1816bde23283a38e5425d
Defold engine sha8cd3a634b13f4db51a37607bf32bf3a3b362c8e6
Defold version1.4.2
Error9508674007664f5091502e5893ba72a3
GPUIntel(R) UHD Graphics
GPU Driver4.6.0 - Build 27.20.100.8681
Java version11.0.15+10-LTS
OS archamd64
OS nameWindows 10
OS version10.0

paweljarosz avatar Feb 02 '23 17:02 paweljarosz

The latest version is 1.0 and it's found in the releases list

JCash avatar Feb 03 '23 07:02 JCash

Please verify again with the latest release https://github.com/defold/extension-rive/releases/tag/2.0.0 And please read the setup instructions here: https://forum.defold.com/t/updated-rive-extension/75169

JCash avatar Dec 05 '23 08:12 JCash