-
Notifications
You must be signed in to change notification settings - Fork 246
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
Can't run project in unity 2020.3.2f1 #2
Comments
For me its similar to your first few screenshots in Unity 2020.3.3f1 (after letting Unity import the project to the new version). I just get a blue background and nothing happens. |
Ok so I was able to resolve my problem at least: I did not select the scene Slime.unity. When I selected it before running the scene, I saw beautiful slimes. |
Is this a Mac problem? I'm not very familiar with Unity but I'm just getting a black screen on my Mac. It looks like compute shaders might not work well with them. |
Make sure you select the slime scene. This seems to work for most people, just not for me. |
I've selected the scene which gives me the black screen. What OS are you on @inh4les? |
I'm getting a black screen too. I'm on windows so it seems it isn't a platform bug |
I am on linux with black screen as well. |
Sorry to hear the project isn't working for some of you, I'm not sure what is causing this. Something to try though if you're on windows or linux (I've had one person mention that this worked for them): go into the project settings, and under Player > Other Settings, uncheck Auto Graphics API for the relevant operating system, and then add Vulkan from the drop-down list. Finally drag it to the to be the first in the list. You'll then be prompted to restart the Unity editor. Please let me know if that helps. If you're getting any errors or warnings in the console could you also please paste them here. |
Hi Sebastian, I tried changing the graphics API to Vulkan (am on windows) but still I get a black screen when running the slime scene. I'm also not getting any errors in the console |
@SebLague Thanks, this fixed it for me on Linux with Nvidia. |
If i check Show Agents Only, I see the agents moving around |
@BillPepper Happy that fixed it for you! |
@SebLague Thanks, this fixed it for me on Windows with Nvidia. |
@SebLague I tested the project on another pc and the project worked straight away on that so I'm not really sure what's going on. I hope this helps your investigation. |
Hi @SebLague , I'm unfortunately in the same situation as @IntelligentCake04 (seeing agents moving only with the "only agent - on" and running with the vulkan API). But no slimes in the petry dishes. I'm running the scene on a Windows 8 laptop with a GPU nvidia geforce 740M (wich technically support DX11 and shaders 5.0) |
My "fix" isn't quite correct, but I still think it is a concurrency issue caused by multiple threads trying to unatomically increment the same
Different platforms support atomicity differently, so for some of us, this causes only 1 agent to do an increment and the results to be invisible. @IntelligentCake04, does increasing "Trail Weight" fix it for you? |
@asvarga no it doesn't fix it for me. I genuinely think it could be lack of support for older hardware. For reference i am using an i7-2600k and a Nvidia GTX 770. It would be interesting to see a correlation between older hardware and this issue. |
@IntelligentCake04 |
I'm also being thrown into safe mode when I first load the project. Running on a 2070s, so it shouldn't be a hardware problem |
@SebLague can u turn it into a exe file? It would be easier to run than |
If anyone is interested, I've recreated the project using my own custom engine here. There is an exe available in the releases with various customizable settings that you can adjust. |
Im a total beginner, but I noticed something: I can only have a limited number of actors, to be precise not more than 1048560, which is almost the amount of bytes one MB has (1048575). If I have more I also get blackscreen. (Running on a GTX 1050Ti) |
@asvarga your fix was pretty close. You were definitely correct on one possible issue. One clue is when you look at the compiled shaders, you'll see the following lines: However, I still can't get it to run on my pixel tablet. So I can't be sure that this is the exact issue that's preventing it from working for others. Update: Finally going to move on. I've explored a wide variety of possibilities, refactored the code a few times. Learned a lot, but not how to get it to run properly under gles3. For those who come after, consider attempting to leverage HDRP macros but I couldn't get them to work. |
I loaded up the project in unity, opened the slime scene, and pressed run. Black screen.
I've messed around with some settings in hopes of getting it to work but to no avail.
I'm not sure what i could be doing wrong here, any help would be appreciated.
The text was updated successfully, but these errors were encountered: