godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
89.85k stars 20.99k forks source link

display_server_windows.cpp - Parameter "hicon" is null. #89712

Open conde2 opened 6 months ago

conde2 commented 6 months ago

Tested versions

4.2 4.3.Dev4 v4.3.dev5.mono.official [89f70e98d]

System information

Godot v4.3.dev5.mono - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 Ti (NVIDIA; 31.0.15.3623) - AMD Ryzen 7 3700X 8-Core Processor (16 Threads)

Issue description

image

platform/windows/display_server_windows.cpp:3139 - Parameter "hicon" is null.

Steps to reproduce

It happens very random, I couldn't reproduce in a consistent way, but from time to time this bugs appears. It has something to do with hovering icons.

Also more people are experiencing this error, and it is very anoying as it makes you need to restart the engine to keep working with it. ( https://forum.godotengine.org/t/weird-error-that-i-dont-know-how-to-fix/38742/5)

The scale appears to change randonly after this bug.

https://github.com/godotengine/godot/assets/2137569/3ea597a3-3bf2-42fc-88be-824819223329

image

Minimal reproduction project (MRP)

Just using the editor from time to time this error happen. It happens when hovering any icon.

AverseABFun commented 3 months ago

I found I could get the message consistently on my machine when hovering over anything with a tooltip long enough to get said tooltip. No clue why, and every couple of weeks or so I just randomly start getting this bug for a day or two, but at least we have some info on it.

AverseABFun commented 3 months ago

Also, it appears that dropdown menus also do it.

conde2 commented 3 months ago

@AverseABFun which godot version are you using? I switched to godot 4.3.beta2 and I don't have this error anymore.

AverseABFun commented 3 months ago

@AverseABFun which godot version are you using? I switched to godot 4.3.beta2 and I don't have this error anymore.

oh, interesting. I'm still on a stable version, but that's good it (might) have been fixed.

akien-mga commented 3 months ago

CC @bruvzg

brevven commented 8 hours ago

I was getting this error on v4.3.stable.mono.official [77dcf97d8] every time I saved a scene. Restarting the engine cleared it up, not sure how to reproduce yet.