(Problem is on Windows 10 64-bit)
A day ago, I posted a topic about only a black screen being shown when building projects (this is on Windows by the way). Black screen is shown when building
One thing I didn’t emphasize enough though was the fact that when I downloaded older projects, this problem didn’t happen.
There was another person who had the exact same problem (you’ll see who because they are part of the thread in the other post), but they were able to fix it by updating graphics related things. I went on to do the same thing, only to have the same result when building, a black screen that only showed the contents if the window size was changed to a really small size.
I also figured out that when there is a bigger object or GUI node, it forces the window to have to be even SMALLER, which eliminates the solution of changing window size after build.
Then I got curious and wondered, "If the issue didn’t happen with this downloaded project (colyseus Defold tic-tac-toe example), would it also not happen on other (and older) downloaded projects?
I went on to download a Defold example project, and built it. The issue didn’t appear there either.
This might eliminate some potential causes:
The problem being due to the GPU driver (unless Defold had an update that changed rendering) and the problem being due to the dmengine or editor (since when you download a project, you’re not redownloading the app or engine).
If these couldn’t be the problems, then maybe the problem was related to project creation or the initial screen (when you just open Defold and want to open or create a project).
I’m not entirely sure if this is so because this problem only occurs to my computer.
I will check and open the same project in a different computer to see if the same thing happens. If it doesn’t though, it might not be completely off the table because sometimes bugs occur to some but not to others.
Thanks for bringing this problem into consideration, since it literally almost makes Defold engine unusable for me.
Edit: I opened it on a different computer and there’s no issue. It still is possible that the issue is due to my computer.