Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2018.4.X, 2019.2.X, 2019.3.X
Votes
42
Found in
2018.4
2018.4.6f1
Issue ID
1174865
Regression
Yes
[HoloLens] Holograms are jittering since Unity 2018
1. What happened
When using Unity 2017, holograms are very stable when running an application on the HoloLens. All newer versions (tested on 2018.4 and 2019.1) produce jitter. No external tool in the project, just a blank one with a material.
As a result, we are currently stuck with 2017.4.
More info on this forum thread: https://forum.unity.com/threads/unity-2018-3-and-hololens-holograms-are-not-stable.647734/
2. How we can reproduce it using the example you attached
List of files attached:
- "2017" is a video previewing holograms stability using Unity 2017
- "2018" is a video demonstrating jitter
- "HoloJitter.zip" is an archive containing Unity projects AND UWP built packages for both Unity 2017.4 and 2018.4
Here is a step-by-step guide when starting from scratch (which I just did). Please note that everything that is not mentioned here has been left untouched from the default configuration.
Build Environment
PC Windows OS Version (from winver.exe): 1903 (18362.239)
Latest Windows SDK version: 10.0.18362.0
HoloLens 1st Gen build version (from device portal information): 17763.615.x86fre.rs5_release_svc_prod1.190630-1301
Visual Studio Version: 15.9.14
Procedure
Install Unity 2018.4.5f1 (I do not use Unity HUB - and I never overwrite a previous installation; always install in a fresh new folder)
Launch Unity
Create a new project called "Jitter", with 3D as default mode
Switch platform to UWP
Prepare the material for the cube:
Create a folder named "Materials"
Create a new material in that folder, called "UnlitRed"
Set material shader to Unlit/Color
Set Main Color property to (255, 0, 0, 255)
In the default scene that is provided:
Remove directional light
Set the camera:
Set Position to (0, 0, 0)
Set Rotation to (0, 0, 0)
Clear flags to Solid Color (0, 0, 0, 0)
Far clip plane: 20
Disable "Allow MSAA"
Place a cube in the scene:
Set position to (0, -0.25, 1.75)
Set scale to (0.15, 0.15, 0.15)
Set material to previously created "UnlitRed"
Open Lighting settings (Window -> Rendering -> Lighting Settings):
Clear Skybox Material and Sun Source property field (click on the currently assigned value and press "Del.")
Disable Baked Global Illumination (uncheck the box)
Save the scene
Add it to the builds settings (File -> Build settings -> Add open scenes)
Open the package manager (Window -> Package Manager):
Select "In Project" from the top left top down
Remove all packages but Package Manager UI
Remove "Ads"
Remove "Analytics Library"
Remove "In App Purchasing"
Remove "TextMesh Pro"
Remove "Unity Collaborate"
Normally, only Package Manager UI should be there
Open Quality Settings (Edit -> Project Settings -> Quality):
Delete all quality levels but Very Low
Open Player Settings (Edit -> Project Settings -> Player):
Under XR Settings:
Check Virtual Reality Supported
Set Stereo Mode Rendering to Single Pass Instanced
Open Build Settings (File -> Build Settings)
Click the Build button at the bottom
Create a new folder from Windows Explorer named "Builds"
Select the folder for the builds
Once build is complete, open visual studio solution (Builds/<project_name>.sln):
Select "Master" as build configuration
Select "x86" as target platform
Select "Device" as target device
Plug the HoloLens through USB port
Select Build -> Deploy Solution from the top menu
Once build is completed and deploy has succeeded, unplug the HoloLens
Put the HoloLens on your head:
Bloom to open the shell
Select "All Apps" on the right
Selection the application you just build
The OS will start the application, and Unity Splash Screen will soon appear
Once you see the red cube from your scene, move around, and squat
Notice jitter
-
tkrikorian
Aug 27, 2019 19:47
It's also happening on 2019.2.0 & 2019.2.1 & 2019.2.2
-
jonathan_dana
Aug 08, 2019 06:53
Formatting is broken regarding the step-by-step guide, so please go to this post for a proper version:
https://forum.unity.com/threads/unity-2018-3-and-hololens-holograms-are-not-stable.647734/#post-4814180
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
- Crash on EditorApplication:Internal_CallUpdateFunctions when pushing property block by index to SpriteShapeRenderer
- Depth Texture Mode "After Opaques" breaks when "Full Screen Pass Renderer Feature" is added
Resolution Note (fix version 2020.1):
Fixed stability issues.