I'm building a simple 360 video project and mostly got it to work. I've successfully imported the video and configured project so I can pan and 'look around' the environment when the Unity IDE is playing the video in Scene mode.
When I try to build the project or run it in Game mode, it looks as if I'm staring at a wall.
None of the articles on 360 video mention things about camera placement.
I've noticed a button labeled '2D' in the Scene view button bar that looks eerily similar to how the software renders the project in Game mode.
I feel like I'm missing a switch or a configuration somewhere.
Thanks for your assistance.
I tried setting a number of different build settings for Unity Player that didn't work.
I'm attaching screenshots of what I'm seeing.
enter image description here
Here's the game view mode.
enter image description here
There's an additional step that's not posted in most 360 vid tutorials.
Even though the scene view allows you to look around by placing a camera. The MainCamera needs to be coded in order to work.
The camera code here: http://mountainpath.ch/cmsimplexh/index.php?Unity-3D/Create-a-3D-model-viewer-with-Unity-3D
Got this thing to work as expected.
Related
I really searched a long time for a solution of this problem, but I couldn't find it. Maybe one of you know, how I can fix this problem.
I created a Unity VR project for the Oculus Quest 2 and downloaded the Meta Avatar Plugin. I followed this tutorial on YouTube.
Everything is working fine during the Game Mode in Unity. But when I am building it, the Avatars has completely white textures, like in this screenshot.
I am using Unity Version 2021.3.5f1.
I think it has something to to with the building process/ Shader setup from Computer to Android, but I am not sure where or what I can change to make it run.
Does anyone has an idea?
After one day it worked suddenly. I think it was the answer from Philipp, with the Graphics settings:
Try this: Click on your relevant surface in Play mode and check what Shader the Material is using. Then stop, and go to to Edit -> Project Settings -> Graphics. Scroll down to the Always Included Shaders list and add the Shader you noted before to that list. Now compile again and see if the issue persists. (If it does, you may want to look into e.g. the Player -> Color Space setting, which can be Gamma or Linear.) –
Philipp Lenssen
Sorry for my English. I'm new at game development and unity. I'm watching a tutorial about this. In this tutorial Main Camera borders seems to be like that:
tutorial
And this is my 2d project:
project
And even though this guy select other objects main camera borders don't disappear. But if I select a different object while the main camera is selected, its borders are disappearing like this:
tutorial
I searched some settings in the properties of Main Camera but i couldn't find a setting for fix this. How can i fix this?
Gizmos>Check Camera .
Image
I had the same problem, cause accidentally i deleted my Main Camera, you need to check the tags of your camera in the inspector, verify if it's in "MainCamera" tag. :)
Edit Game tags
I am new to Unity, following this rolling ball tutorial and I think I clicked something but my play mode camera is super zoomed in. How do I fix it?
I can't seem to upload it but here are pics.
http://imgur.com/qAFdCHr
http://imgur.com/iPX3yOU
Unity 5.5.2f1
I'm trying to get started with making an Oculus app, following the instructions here, modifying a very simple scene I made. However, when I disable the MainCamera and drag in the OVRCameraRig, and run it in the Editor, I still only see a single frame, not these multiple eye views like in the picture. Player settings have "VR Supported" selected. Do I have something not set up right with the app? Or is the tutorial out of date or something?
The scene content is shown in game player but not shown in windows build.
Could anyone suggest what can cause to this kind of problem, Or suggest ways to troubleshoot it?
Please note that :
The scene is properly defined in the build settings
I am using windows 10
I am building for windows
The scene contains some sprites with physics , an imported character with animations (I imported it from the asset store) , a UI canvas with a button, and some scripts that attached to the objects.
The scripts do almost nothing.
The game content is properly shown inside the game player (Unity's Editor player) the problem is only with the build.
When running the build output , Unity's splash screen is shown and then the scene is loaded but its content isn't shown.
I changed the camera background color , and the color is indeed changed in the build , it's just the scene content that isn't shown.
I added a UI canvas with a button , the button is shown.
I am using Unity 5.5.1f1
it is a 2d project
Make sure you are adding the scene to Scenes in Build screen.
Go to File->Build Settings and in the dialog make sure your scene has a check mark on the left.
When running in Editor Unity runs whatever scene you are working on, but when building a player you need to include the scene in the list.
Problem solved.
I deleted the camera and created a new one. It solved the problem.