-
-
Notifications
You must be signed in to change notification settings - Fork 18.9k
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
Basic Android plugin causes exports to fail #76185
Comments
I got the same error on on @blurrred do you find any solution? Updates (same error) with no custom plugin, follows all steps on Documentation:
|
I ran into the same problem and my solution was to change the project directory to full English. |
@Abab-bk |
@monstrum |
@blurrred |
@blurrred |
For those encountering a similar issue, here's some additional information. Specifically, I was trying to run the official template Godot XR Template on Oculus Quest 2. As @Abab-bk correctly pointed out, the problem lies in Gradle. At least in my case, all XR projects started to build (but not yet successfully launch!) as soon as I identified and corrected an incorrect Gradle setting. Here's how I did it:
As I mentioned above, after these manipulations, all XR projects in Godot began to build and install on my Oculus Quest 2. However, they would launch for a couple of seconds and then crash. In the logs, there were two errors, one of which was: Also, if you've launched the project on Oculus Quest and it doesn't crash but everything is black and it's impossible to interact with anything, you probably forgot to add a script to your Node3D where XROrigin3D is declared. Below is the basic code that allows you to get rid of the black screen and finally launch your project fully:
I hope this information helps you successfully launch your first VR project on Oculus Quest. I will also add a few words about deleting certain directories in an attempt to solve the problem. Deleting |
Godot version
4.0.2
System information
Manjaro Linux, Samsung Galaxy S8
Issue description
My custom Android plugins cause Android exports to fail with the error
For some reason, this only occurs with my own plugins. Ones other people have made that have even worked in Godot 3 still work in Godot 4, some with minor tweaking. My plugin worked just fine until I realized it wasn't being detected by
Engine.get_singleton_list()
. I tried making a bare-bones plugin and exports fail to launch with the aforementioned error upon enabling it.Steps to reproduce
I followed FinePointCGI's tutorial on how to make an Android plugin along with the documentation, https://www.youtube.com/watch?v=kwf8SFfH4s8
Nothing is required in the engine aside from setting up Android exports and enabling the plugin.
Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered: