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

[BUG] SettingsPanel can't be added directly to the Scene #6

Closed
LightTab2 opened this issue Sep 29, 2024 · 0 comments · Fixed by #7
Closed

[BUG] SettingsPanel can't be added directly to the Scene #6

LightTab2 opened this issue Sep 29, 2024 · 0 comments · Fixed by #7

Comments

@LightTab2
Copy link
Contributor

Description:
SettingsPanel added directly to the Scene fails an assertion at:

func _on_panel_visibility_changed():
	assert(settings_collection)
        ...

Expected behavior:
Instead of the assertion, a normal if check should be made:

func _on_panel_visibility_changed():
	if !settings_collection:
		return
	...

Screenshots:
A structure of the failing Scene:
image

The assertion failing:
image

Additional info:

  • OS: Windows 11
  • Godot Version: 4.3
  • Commit: a053ed9
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 a pull request may close this issue.

1 participant