Search Issue Tracker
Fixed
Fixed in 2.0.18
Votes
0
Found in [Package]
2.0.12
Issue ID
VS-61
Regression
No
Errors in new URP related to VisualStudio package when opened in SafeMode
This issue reproduces only with new URP project (doesn't happen with new 3D, 2D URP, HDRP).
Reproduces on: all versions starting 2020.3
( checked on: 2020.3.32f1, 2022.1.0a15, 2022.2.0a3, 2022.2.0a9, 2022.2.0a10 with versions of VS package: com.unity.ide.visualstudio@2.0.14 and com.unity.ide.visualstudio@2.0.11 )
It might be VS package issue or URP template issue which cause this errors, but seems the source of the issue is somewhere in ADB or scripting code.
How can we reproduce
1 Create new URP project
2 Create new script and introduce a compilation error
3 Close Editor and reopen it
4 On opening select "Enter SafeMode" on a pop up
Expected result: no errors other than one compilation error
Actual result: when Editor is opened you will see two additional errors:
- "GetLoadedImportedAssetsAndArtifactIDs called with invalid artifactID
UnityEditor.AssetDatabase:Refresh ()
Microsoft.Unity.VisualStudio.Editor.VisualStudioEditor:SyncAll () (at Library/PackageCache/com.unity.ide.visualstudio@2.0.14/Editor/VisualStudioEditor.cs:176)
UnityEditor.CodeEditorProjectSync:SyncEditorProject ()"
- "Assertion failed on expression: 'it->second.IsValid()'
UnityEditor.AssetDatabase:Refresh ()
Microsoft.Unity.VisualStudio.Editor.VisualStudioEditor:SyncAll () (at Library/PackageCache/com.unity.ide.visualstudio@2.0.14/Editor/VisualStudioEditor.cs:176)
UnityEditor.CodeEditorProjectSync:SyncEditorProject ()"
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Screen Space Ambient Occlusion is ignored when toggling "Post Processing" visibility in the Scene window overlay
- “RenderTexture.Create failed: requested size is too large.” errors are thrown and the Inspector window is black when selecting a CubemapArray texture
- Crash on AMDUnityPlugin.DLL in specific built project when using FSR2 upscaler
- RenderObjects does not have any Depth texture bound when Event is set to AfterRenderingPostProcessing
- Prefab override popup is cropped/positioned incorrectly when more than one display is used and a higher display Scale is set
Add comment