Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
4.1.0
Issue ID
1221418
Regression
No
Notice at startup, near plane warning and incorrect eye distance
1. Yesterday my project worked normaly, this morning at unity startup I have messages in the console :
Can't find an asmdef for project: Unity.ugui; Unity actually allows this, so proceeding.
UnityEngine.Debug:Log(Object)
Microsoft.Build.Unity.ProjectGeneration.UnityProjectInfo:GetProjectInfo(Dictionary`2, Dictionary`2, HashSet`1, String) (at Library/PackageCache/com.microsoft.msbuildforunity@0.8.3/Editor/ProjectGenerator/Scripts/UnityProjectInfo.cs:255)
Microsoft.Build.Unity.ProjectGeneration.UnityProjectInfo:GetProjectInfo(Dictionary`2, Dictionary`2, HashSet`1, String) (at Library/PackageCache/com.microsoft.msbuildforunity@0.8.3/Editor/ProjectGenerator/Scripts/UnityProjectInfo.cs:288)
Microsoft.Build.Unity.ProjectGeneration.UnityProjectInfo:GetProjectInfo(Dictionary`2, Dictionary`2, HashSet`1, String) (at Library/PackageCache/com.microsoft.msbuildforunity@0.8.3/Editor/ProjectGenerator/Scripts/UnityProjectInfo.cs:288)
Microsoft.Build.Unity.ProjectGeneration.UnityProjectInfo:GetProjectInfo(Dictionary`2, Dictionary`2, HashSet`1, String) (at Library/PackageCache/com.microsoft.msbuildforunity@0.8.3/Editor/ProjectGenerator/Scripts/UnityProjectInfo.cs:288)
Microsoft.Build.Unity.ProjectGeneration.UnityProjectInfo:CreateUnityProjects() (at Library/PackageCache/com.microsoft.msbuildforunity@0.8.3/Editor/ProjectGenerator/Scripts/UnityProjectInfo.cs:199)
Microsoft.Build.Unity.ProjectGeneration.UnityProjectInfo:RefreshProjects() (at Library/PackageCache/com.microsoft.msbuildforunity@0.8.3/Editor/ProjectGenerator/Scripts/UnityProjectInfo.cs:104)
Microsoft.Build.Unity.ProjectGeneration.UnityProjectInfo:RefreshPlugins() (at Library/PackageCache/com.microsoft.msbuildforunity@0.8.3/Editor/ProjectGenerator/Scripts/UnityProjectInfo.cs:99)
Microsoft.Build.Unity.ProjectGeneration.UnityProjectInfo:.ctor(HashSet`1) (at Library/PackageCache/com.microsoft.msbuildforunity@0.8.3/Editor/ProjectGenerator/Scripts/UnityProjectInfo.cs:75)
Microsoft.Build.Unity.ProjectGeneration.MSBuildTools:get_UnityProjectInfo() (at Library/PackageCache/com.microsoft.msbuildforunity@0.8.3/Editor/ProjectGenerator/Scripts/MSBuildTools.cs:89)
Microsoft.Build.Unity.ProjectGeneration.MSBuildTools:RefreshGeneratedOutput(Boolean) (at Library/PackageCache/com.microsoft.msbuildforunity@0.8.3/Editor/ProjectGenerator/Scripts/MSBuildTools.cs:187)
Microsoft.Build.Unity.ProjectGeneration.<>c:<.cctor>g__OnUpdate|18_0() (at Library/PackageCache/com.microsoft.msbuildforunity@0.8.3/Editor/ProjectGenerator/Scripts/MSBuildTools.cs:149)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()
When launching I have warnings in the console :
Near clipping plane is < 0.1f. This may cause hologram instability when using Windows Mixed Reality.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
My camera near clipping plane was set to 0.1, I set it to 0.15 to be sure but still have the message.
And the left eye and right images are rendered as if the distance between eyes was of sevetal meters.
2. For me the bug is there any ways.
-
Entretoize
Feb 25, 2020 06:13
I found the issue, I had imported a model with it's own camera which was used as the main camera. Sorry for the mistake.
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
- URP SoftShadowsHigh not initialized
- Crash on Material::RemoveUnusedProperties() when removing unused properties from a broken Material Component
- Sprite Atlas Sample variant scene sprites are blurry
- Disabled Shadow Variants are removed from the Player when 'Strip Unused Variants" is disabled and no URP Asset with Disabled Shadows is in Build
- Graphics.RenderMeshIndirect does not issue multi-draw rendering commands when using a graphics API capable of multi-draw commands
Resolution Note:
An unknown camera was being imported by a model, no change needed.