Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
paweljarosz opened this issue May 5, 2022 · 16 comments
Open
Labels
bug Something isn't working editor Issue related to the editor integration more info Further information is requested

Comments

@paweljarosz
Copy link
Sponsor

paweljarosz commented May 5, 2022

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.

@britzl
Copy link
Contributor

britzl commented May 11, 2022

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 britzl added bug Something isn't working more info Further information is requested labels May 11, 2022
@ghostphoria
Copy link

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

@paweljarosz
Copy link
Sponsor Author

paweljarosz commented May 13, 2022

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

@britzl
Copy link
Contributor

britzl commented May 13, 2022

@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 britzl added the editor Issue related to the editor integration label May 13, 2022
@paweljarosz
Copy link
Sponsor Author

paweljarosz commented May 13, 2022

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.

@britzl
Copy link
Contributor

britzl commented May 13, 2022

I can reproduce on Windows.

@ghostphoria
Copy link

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

@paweljarosz
Copy link
Sponsor Author

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
Copy link
Sponsor Author

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

@KL-B0
Copy link

KL-B0 commented Sep 16, 2022

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?

@britzl
Copy link
Contributor

britzl commented Sep 18, 2022

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.

@KL-B0
Copy link

KL-B0 commented Sep 19, 2022

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

@britzl
Copy link
Contributor

britzl commented Sep 22, 2022

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

@paweljarosz
Copy link
Sponsor Author

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

@JCash
Copy link
Contributor

JCash commented Feb 3, 2023

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

@JCash
Copy link
Contributor

JCash commented Dec 5, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working editor Issue related to the editor integration more info Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants