I'm pretty new in this world and I'm trying to build and run my first Unity project in my Android device but I can't.
The APP is installed correctly but when I try to open it, it pops the screen that says "Made with Unity" and then leads to a black screen where nothing happens and my game doesn't work.
I've used the Android SDK tools for Windows which I have downloaded here1.
Can anyone please help me?
Thanks
This question doesn't help, because there are bajillion ways a Unity build can end up in a blank screen.
So, for the sake of making most of it with so little context, try to do the following steps:
1) Verify the build order is correct: Place always first the scene where your camera is. And try to place the scenes in a way that makes sense in the structure of your game (ex : MainScene - > MenuScene -> GameScene -> LevelScene)
2) Search for errors in build. Probably the most helpful advice i can give. Check the log in your output_log.txt in the build folder as mentioned in this thread: https://answers.unity.com/questions/125049/is-there-any-way-to-view-the-console-in-a-build.html
Related
The Problem: when running a unity build in Bluestacks you get a black screen. The only solution I have found for it is to disable "OptimzedFramePacing" in PayerSettings when building which fixes the blackscreen, but causes another problem, which is: on android your game gets a little jittery.
I use unity 2020.3.33f1. tested on Bluestacks 5.3 and 5.8
I have tried with empty project with only a few rigidbody2d falling and result is the same.
in the last few days i have searched and read all the topics about this, which are very few considering it looks like a big issue!
Things I have tried but failed:
-fixing bluestack black screen by any other ways. (blitType, Custom main manifest, Changing Graphic API)
-changing OptimzedFramePacing only if we run in bluestack, which is impossible because OptimzedFramePacing can not be set at runtime.
I know OptimzedFramePacing=false should result in a little jitter. is there a way to fix bluestacks blackscreen and keep OptimzedFramePacing=true?
or any other solution?
I really appreciate if anyone can help me with this.
Thank you.
The android game I developed opens late.At least 4 minutes after "MADE with unity" screen, the game screen opens.
I do not experience such a problem in empty projects.
When I add only one ui menu and vehicle model in the game, I still have the same problem.
how can i solve it?
Thanks
non
Are you sure you don't have anything huge inside the project, that makes it load for so long? And have you double-checked that the code might have some sort of sleep-timer, like WaitForSeconds?
It would really help, if you could share some code. Also, have you tried moving the menu and one vehicle to a new project and loading that up?
One of my team members just cloned my unity project which was working fine on my pc(unity 5.5) where as it is displaying "Display 1 no cameras rendering" error in the scene on my teammate's pc(unity 5.4).
We are using a git repository and this is the first time we have encountered this problem.
Another thing we just noticed is that there are place holders for all the objects that were part of hierarchy(on my system). For some reason there names are not getting displayed, but when when you select the area, something seems to be selected.
Can someone please help us solve the issue.
One of my team members just cloned my unity project which was working
fine on my pc(unity 5.5) where as it is displaying "Display 1 no
cameras rendering" error in the scene on my teammate's pc(unity
5.4)
Take a moment and look at the words in bold. You can't do that.
You shouldn't try to open a Unity project made with higher Unity version with lower Unity version. This applies to most software too. What's happening is that Unity added new feature and changed some of Unity's binary saved data in Unity 5.5 that Unity 5.4 doesn't have.
When you load a project from Unity 5.5 in Unity 5.4, it won't be able to understand those new features leading to weird behavior such as the one he's having.
Your teammate will have to update to Unity 5.5 in order to load the Project made with Unity 5.5.
I just had this same issue with "Display 1 no cameras rendering".
After a quick look around the interface, I clicked on my main camera and in the Camera area of the Inspector panel, I saw that my Target Display was set to "Display 4". Not sure how it got there, but changing that back to "Display 1" fixed the problem for me.
If you code and setting don't have other error,I guess you right-click on the gamewindow
Just the Game,cancel the warn if----
OK,just it.
Sorry,My English is not good enough.
I has the same issue , undoing all the steps until the last correct function , i found i erase the main camera without take care.
I'm new to augmented reality, and I'm using vuforia 4.2.3 and unity 5, I followed all the steps trying to make a test run and whenever the camera detects the target the whole screen turn white, I've tried many thing but none of them worked, can someone help me?
I had a problem that sounds similar.
There is a known bug that causes white screen, could be related to that? See here for more info.
What worked for me was to change the VideoBackground.shader code, as described on that thread.
Go to Project>>Qualcomm Augmented reality>>Shaders
Double-click VideoBackground. This opens up Mono.
In the code, change where it says:
"queue"="geometry-11"
to this:
"queue"="Geometry"
Save, rebuild etc.
Worked for me.
I am new in cocos2d and I am making a game by using cocos2d.
I import an png Image and use it as sprite. It works very well.
But when I replace images by another image with same name and run it on simulator.
It works very well. But when I run it on my iPhone for testing then it show old image (not replaced image). while I have deleted it already.
can anybody tell me that how will I fix it.
Change the name of the image for another one, rebuild the project: it should raise an error and clean internally all the links to the image.
Rename back the image and compile. Hopefully, the iphone will show you the new image.
Try to clean the app from xcode and then reinstall. Let me know if it is not working.
clean project before building (press Shift+Command+K)
Clean project, go to project then clean.
Make sure the old image is completely gone from inside and anywhere near your project's folder. (Basically put it in the trash and then empty it).
Restart Xcode.
Uninstall the app from your device.
Restart your device.
Clean your Xcode project like everyone else has said.
Try to run your app.
Hopefully all of these (probably excessive) steps will do something for you.