[Issue/Bug]: Rendering order messed up #69
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What happened?
As soon as I enable the plugin in the project settings I get a weird bug where my Buttons get rendered on top of other elements.
In particular I have this in the scene tree


As you can see
Play
,Options
, andQuit
are Buttons, that are placed before theRoundCreation
-CanvasLayer. If I enable the visibility ofRoundCreation
in the editor, it is correctly placed on top of the buttons (i.e. you can't see the buttons nor click them).However, if I start this scene it looks like this:
The three buttons are placed on top of the
RoundCreation
. But they're not clickable. You can see them, but can't click them.Version
1.3.1
Godot Version
v4.2.1.stable.official [b09f793f5]
Exact steps to reproduce this error
I haven't tried to reproduce this in a fresh project. If you want, our project is open sourced at
cake4everyone/Quiz4Everyone@See comment below. If you want to try it, you have to start thediscord-presence
. Currently, the Discord plugin is only installed and enabled in this branchres://scenes/menu.tscn
-Scene (the one from the screenshot).Once you disable die plugin in the project settings (dont even need to restart Godot Engine), it works fine again.
GDScript
Godot output
No response
Additional information
Off Topic:
The third checkbox form the Checks down below contains this url to a 404 page ;)
So... yes, I did read the 404 page, didn't help either ;)
I belive it should be updated to https://docs.vaporvee.com/discord-rpc-godot/ alternatively adjust your redirect (from
/docs
to yourdocs
subdomain) to also include the/discord-rpc-godot
part.Checks
How is that even possible? it doesn't change stuff in the scene tree. but thank you for the testing project i will look into that really weird bug
Well okay, it has something todo with
RoundCreation
beeing aCanvasLayer
-Node.After I tried to manually forcing the render-order by changing the
z_index
(which didn't made any difference btw), I tried messing with the nodes themselfs.Yeah, if the thing I want to show, isn't a child of a
CanvasLayer
, it works again.Have fixed it in my branch in our project with this commit
584eb39c92
btw. So the last non-working state isd3f5e2f6fa
, if you still want to check