My machine is Windows 7. I build my unity scene for the web platform. I click .html file; it says that download unity player. I click on image to download the unity player.
I install unityplayer.exe and run it. I reopen the HTML file; it says that download unity player again.
I don't understand why it doesn't work. How can I install unity player properly?
As Martin mentioned in the comments, Unity Web Player is no longer supported by Unity.
This is because Google announced a plan to deprecate support for NPAPI plugins, such as the Unity Web Player. See the full article here.
I'd suggest switching platforms for your game :-)
Related
I followed this tutorial https://learn.microsoft.com/en-us/training/modules/learn-mrtk-tutorials/1-1-introduction and did every step. But when I run it on the HoloLens, I don't see anything.
Build configurations are as in the tutorial, HoloLens2 is in Developer mode and has been paired before. Tools are as in https://learn.microsoft.com/de-de/windows/mixed-reality/develop/install-the-tools?tabs=unity
I am building the app over WIFI.
When the app starts on HoloLens, mesh appears for a moment and I get a question asking if it is allowed to use on my microphone.
"Build with Unity" or similar does not appear, and no objects either. I see "nothing".
What could be the problem?
I use:
Unity 2021.1.20f
MRTK v1.0.2206. Preview (from Microsoft Download Center)
It was actually the wrong Unity version.
I am now using Unity 2020.3.4 and I can see and move the objects.
I have already installed Unity on my PC.now I want to use Vuforia with Unity.But in new Vuforia site they don't provide us to download their SDK for already installed Unity.How can I download it.
Actually if you install unity 2017.2 or newer no need to add vuforia sdk. Just go to file-> build settings-> player settings ->click on vuforia augmented reality
And also in new versions of Unity (e. g. 2019.2.10f1) it is File > Build Settings > Player Settings > XR Settings > Vuforia Augmented Reality Supported checkmark
This will automatically import vuforia related assets into unity.
Install the latest version of Unity, and in the Unity component
selection section of the installer, select Vuforia Augmented Reality
Support, along with either the iOS Build Support or Android
Build Support packages.
Create a Vuforia developer account from the Vuforia registration page. This account gives you access to the tools you need to make
AR and MR applications with Vuforia in Unity.
If you have not already created a Unity ID, then do so from the Unity registration page. You need a Unity ID to download any
packages from the Unity Asset Store.
Open Unity and create a new 3D Project (make sure the 3D option is selected next to the Add Asset Package button). Name your Project,
then click the Create project button.
To activate Vuforia in your Unity project, access the Player settings
from Edit > Project Settings, then select the Player category,
and select the tab for the mobile device you are building to. Under
the XR Settings panel, enable the Vuforia Augmented Reality
Support property.
From Unity Docs
Since 2019.3 Vuforia is not native in Unity 3D anymore:
On Friday January 24th Unity posted an “XR Platform Updates” article.
Unfortunately, the original version of this article included unclear
information about Vuforia Engine. Vuforia Engine is still supported,
and will continue to be supported, in Unity. What has changed is that
the Vuforia Engine package will no longer be natively distributed by
Unity but can be easily obtained from the Unity Asset Store via our
Core Samples or our hosted NPM registry. You can learn more about how
to download the Vuforia Engine package here.
We apologize for any confusion. If you have any questions, please feel
free to post them on our community forums.
Thank you,
The Vuforia Team
We have to download an external SDK again: https://library.vuforia.com/content/vuforia-library/en/articles/Solution/vuforia-engine-package-hosting-for-unity.html
I'm almost new to Unity3D, I've watched this presentation of Unity evengelist made in February 2016:
https://www.youtube.com/watch?v=pK0ZD53gOoE
Evengelist said and showed that to bring project to VR you need to select one checkbox (Virtual Reality Supported). Now in 5.5 version just downloaded, when I select Virtual Reality Supported it says also "you must add at least one VR SDK", also after that checkbox selected when I click play scene, I do not see two eyes screen, just ordinary view. When last year I tried to make VR for Cardboard and loaded Cardboard SDK, scene view showed two screens to each eye in play mode.
So the question - how now make VR that works on Cardboard in Unity3d? Do I still need Cardboard SDK (I don't need magnet input support or similar, just stereo and head movement support)?
Added: I don't have Cardboard SDK option in Unity somehow:
According to Unity Blog, Cardboard support is exclusive to Android only. iOS Cardboard support will be added soon.
Do I still need Cardboard SDK
I don't think you need the SDK. This is now Native support for Cardboard. Although,you can still download the Cardboard SDK and Unity will automatically use it.
And here is how to enable Cardboard SDK in Unity 5.5.
Thanks Programmer for your answer, it helped me find what my issue was. However, I've spent literally all of my time over the past few days trying to get Google Cardboard and Unity setup, so I figured I can at least post my answer too.
One problem I initially ran into was that I was trying to use GVR Unity SDK v1.1. There are several bugs in this version, so I reverted back to the GVR Unity SDK v1.0.3. This can be downloaded from the github repo: https://codeload.github.com/googlevr/gvr-unity-sdk/zip/f391c2436426857899af1c37f0720b3985631eb3
Then, I ran into multiple problems just getting things to run on android, so I found that I have to use build tools version 24.0.1. This can be downloaded using the Android SDK Manager executable.
Lastly, the "cardboard" option wasn't appearing for me as part of the drop downs, just like in the picture posted by the asker. The problem was that I was using a regular version of Unity, when I needed to actually be using the technical preview. This can be downloaded from https://unity3d.com/partners/google/daydream, and I'm running Unity v5.4.2f2-GVR13.
Then the drop down "cardboard" appeared, and I was able to follow google's official instructions (https://developers.google.com/vr/unity/get-started) and get things set up.
I ended up installing the Unity 5.6 Beta and got my Cardboard app built quite simply using the EasyMovieTexture store asset, turning on VR in Player Settings and adding Google Cardboard. It is working great in IOS and Android. I am working on turning off the Google Overlay as my app toggles between Cardboard and a simple 360 view and that is a proving a challenge. It seems from what I have read Google does not want you to turn off their overlay. I might try to do this natively on IOS.
I'm creating my firs VR app i unity for google cardboard. I noticed VR support setting in the inspector. I searched a little bit and it isn't clear for me if I should enable it for google cardboard. Here is the link for unity manual about it. Thanks for help!
For a while you should not enable VR support since Unity has no native support for Cardboard yet, although it was announced on Vision Summit 2016 for future versions.
By now, you should only use the Unity package with the appropriated prefabs for Google Cardboard available at https://developers.google.com/vr/unity/download.
You dont need to check Virtual Reality Supported to make an app for Google Cardboard. Make sure that you download the Google VR SDK for Unity and bring it in your assets folder in your project. Then just search for GVR Main in your assets folder and bring that into your project scene and you are good to go. Also you may not need the default camera in the scene as well. Just create your scene and your build is automatically supported for Google Cardboard. VR Supported is largely for computer dependent devices like the Oculus Rift and not apps that you run on your mobile phones.
I'm hosting a Unity Web Game with my Google Drive and would like to share it with my friends. I tried to launch it on a different PC and instead of the game launching, a message told me to download Unity Web Player. Is there a way in which I can bundle the player with my game? Is there a way in which I can host the player with my game? Is there a way in which I can let users play my game without them downloading or installing anything?
Unity 5 added support for building WebGL apps which essentially convert all code to javascript and can be used without the need to explicitly download Unity webplayer by the user.
you can find more about this on this link