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

use default renderer to prevent GPUParticles crash on macos #1

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

debris
Copy link
Collaborator

@debris debris commented Jun 18, 2024

Hi,

First of all, nice project! I tried to run it, but the project silently crashes after pressing 'Explore'. After quickly debugging I believe it's related with GPUParticles not working properly on macos M series ( godotengine/godot#72469 ). This pr works around the problem by setting the default renderer in project.godot

project.godot Outdated
@@ -54,7 +54,6 @@ enabled=PackedStringArray("res://addons/format_on_save/plugin.cfg", "res://addon
[rendering]

textures/canvas_textures/default_texture_filter=0
renderer/rendering_method="gl_compatibility"
Copy link
Owner

@TinyTakinTeller TinyTakinTeller Jun 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm still not sure which renderer is better in a sense to be as inclusive as possible to all devices and platforms (compatibility or forward), so I would keep the compatibility since the project is deployed only on the web right now (this is not a problem there?), and for mac, add a profile

renderer/rendering_method.macos="forward_plus"

like suggested here: godotengine/godot#72469 (comment)

until the bugfix is merged into the stable version of Godot.

what do you think?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds good to me, I will fix the pr

@debris debris force-pushed the macos-compatibility branch from 80e1207 to 4c5f2ee Compare June 18, 2024 18:42
@debris debris force-pushed the macos-compatibility branch from 4c5f2ee to 72a839d Compare June 18, 2024 18:44
@debris
Copy link
Collaborator Author

debris commented Jun 18, 2024

fixed

@TinyTakinTeller TinyTakinTeller merged commit 860b141 into TinyTakinTeller:master Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants