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

SpotLight3D Compatibility Web Engine Crash #82565

Closed
FeralBytes opened this issue Sep 30, 2023 · 4 comments
Closed

SpotLight3D Compatibility Web Engine Crash #82565

FeralBytes opened this issue Sep 30, 2023 · 4 comments

Comments

@FeralBytes
Copy link
Contributor

Godot version

4.1.1.stable

System information

Linux Mint 21.2; Kernel: 5.15.0-84; CPU: AMD Ryzen 9 3900X; GPU: AMD 5700XT, Compatability, Firefox 118.0

Issue description

Adding a SpotLight3D to a scene and running it in compatibility mode works fine. But if you try to run the same scene in the web it will crash the engine. Tested in Firefox and Chromium.

Steps to reproduce

Run the attached project in a web browser and observe the crash.

Minimal reproduction project

SpotLight3D-WebLightTest.zip

@FeralBytes
Copy link
Contributor Author

FeralBytes commented Sep 30, 2023

Spot Light Crash Log from Firefox:
SpotLightCrashFirefox.txt
Spot Light Crash Log from Chromium:
ChromiumSpotLightCrash.log

Crash reason seems identical to #82564

Additionally here is a file with both types of lights (Omni & Spot) both are turned off so that you can run the project successfully. Simply turn them on via remote debug(ensure you enable deploy with remote debug) and the web version will instantly crash.
Omni&Spot-Test-Off-WebLightTest.zip

@FeralBytes
Copy link
Contributor Author

Further digging and I see some commonality with this issue here: #75913
So I noticed that the users there are using Linux and have AMD GPUs as I do.
So then I ran it on my other machine which is the same version of Linux but has a Nvidia GPU and even running it in Firefox on the machine with the lights turned on, it does not crash. This is an issue specific to AMD GPUs on Linux well running in the browser. I hope this helps to narrow it down.
Not that this adds much but I also ran a SpotLight3D scene on Android in Chrome browser without issue.

@akien-mga akien-mga changed the title SpotLight3D Compatability Web Engine Crash SpotLight3D Compatibility Web Engine Crash Sep 30, 2023
@akien-mga
Copy link
Member

Please test latest 4.2 dev snapshots, this might be fixed by #80909 already.

@FeralBytes
Copy link
Contributor Author

@akien-mga Tested 4.2.0-dev5 and the game plays fine without a crash. Also tested 4.1.2-rc1 and the game plays fine without a crash. I see that both have that merge from the interactive change-log. Thank you all for immediately having a fix ready. That was unexpected and awesome!

@akien-mga akien-mga added this to the 4.2 milestone Sep 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants