Splash screen not showing on hololens - unity3d

I'm building a Hololens app in Unity.
Lately the splashscreen is only showing for a split second and is also frozen, if i move my head it has graphical glitches, the same you see when your hololens is experiencing heavy load in the background.
How can i determine the cause of this problem?
I tried looking at my awake functions, since i read they are run in the background while the splash screen is shown. They don't seem to be the issue though.
Any thoughts on things i could look into?

I found the problem by going back through the commits.
It stopped working when i assigned mesh colliders to a big object in the scene. I guess the scene is loaded in the background while the splashscreen is shown and mesh colliders are even less performant than i thought.

Related

Unity 2020.3 When I click play sometimes it shows my game upside down

I use Unity 2020.3.8f1. I've developed a scene with an FPS controller so it can be walked through. Yet, sometimes when I click play, the scene shows upside down and sometimes the camera is looking at the sky or off to the side. It doesn't happen always, just randomly at unpredictable moments and looking in different directions. Does anyone have any idea what is going on?
It happens only with this one file. I've created other scenes with FPS controllers to walk through that have always worked with no problem. With this error=prone walk through, there are no errors in the console and no error messages appear on screen. The scene was built with prefabs, so the only scripts are the ones that come with the FPS Controller.
Thank you,
Michelle Jensen

Floppy Disk icon Middle of my screen when game is running

I'm a beginner in unity and programming, I was following a video for making a Flappy Bird game. Everything works perfectly but when I run the game, I get a floppy disk icon middle of the screen and somehing called DontDestroyOnLoad starts working out of nowhere. I couldn't find or understand anything on google when I search for it. I'm posting the screenshots in case anybody wanna see it.
This icon and dontdestroyonload thing only appears when game is being run:
There's a little button in the type right of your scene and game view called "Gizmos", un-toggle that button, should fix your issue.
Also don't worry, Gizmos can only be seen in the Unity Editor for level editing and debugging purposes --> if you were to build the game, for instance on IOS, they would disappear.
(if this doesn't fix your issue, then I would just create a new scene and copy your gameobjects over one-by-one)
I see someone responded about the main part of a problem, but I'll clarify about dontdestroyonload
Don't destroy on load is collection of objects that won't be destroyed when new scene will be loaded, usually objects there come from running them through DontDestroyOnLoad method somewhere in a script, however I noticed that some time ago Unity creators started to put there some stuff related to built-in tools (like debug)

How can I tell what will actually be displayed in game?

I'm having a serious issue with Unity. It's most definitely a conceptual issue, and I would love some help understanding what I'm doing wrong.
The game window on the Unity editor shows my game working exactly as intended. The sizing of everything is perfect, the animations fit nicely, and everything is how I want it to be.
The problem, however, is that when I actually build the game, nothing is where it should be. The animations are off. The sizing of buttons and canvas UI elements are wonky. This is not what I see represented in the Unity editor, so I have no idea why it's working like that.
I've tried changing canvas to scale with screen size because the canvas elements are what is bugging.
I expect my built game to look exactly as it does in the unity editor, but that's not happening.
Thanks!

Unity Screen Resolution after build .exe Issue

So I'm trying to make a game in Unity, and everything is fine, the screen resolution on the Game and Scene view are perfect and well adjusted for every aspect ratio, but after I build the game, and execute the built version of it, the resolution goes crazy.. Before executing the game, there's an option to change resolution but all of them won't work!
I only see 1/4 of the game, it's like the game is being pushed down and to the right.
How can I fix this? Am I missing anything obvious here?
I fixed it.
All I had to do was add a main camera to the scene, I thought since I had the UI canvas I didn't need a camera but I was wrong.
Now it's all working perfectly.

Capturing full background with camera view in 2d

So I have a small problem with my camera in 2D view. I have a background sprite that serves just as it sounds, the background. My problem is, I need the camera view to take up the entire background. At the moment I can only get the camera to capture out to the sides of the background but it will not fully catch the top and bottoms of the background.
This poses a problem, it will cause me to have to make all of my following items in the project to be super short and fat.
Yes, I know this is probably a stupid issue on my part or an easy fix, but being new to Unity, I am unaware of how to deal with this problem.
Here is a snip of my issue http://imgur.com/pz1sg9B
As you can see, I cannot get the camera to reach the top and bottom of the background thus leaving me with super short and fat items.
Thank you in advance!
You have to change the Viewport Rect on the editor.
You can check out Unity3D Manual for more knowledge on Cameras in Unity3D.