Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertions/errors about IsMapping() #2454

Open
jchowdown opened this issue Jul 24, 2024 · 2 comments
Open

Assertions/errors about IsMapping() #2454

jchowdown opened this issue Jul 24, 2024 · 2 comments

Comments

@jchowdown
Copy link

Hi, we're running the Rider Package 3.0.31 (latest) against Unity 2022.3.21 and are getting these errors, does anyone know how we might clear these please?

Assertion failed on expression: 'IsMapping()'
Tried to get mapping information from scalar node

Both happen at

Assertion failed on expression: 'IsMapping()'
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Packages.Rider.Editor.Util.FileSystemUtil:GetFinalPathName (string) (at ./Library/PackageCache/[email protected]/Rider/Editor/Util/FileSystemUtil.cs:20)
Packages.Rider.Editor.RiderScriptEditor:GetEditorRealPath (string) (at ./Library/PackageCache/[email protected]/Rider/Editor/RiderScriptEditor.cs:79)
Packages.Rider.Editor.RiderScriptEditor:TryGetInstallationForPath (string,Unity.CodeEditor.CodeEditor/Installation&) (at ./Library/PackageCache/[email protected]/Rider/Editor/RiderScriptEditor.cs:376)
Unity.CodeEditor.CodeEditor:GetCodeEditorForPath (string) (at /Users/bokken/build/output/unity/unity/Editor/Mono/CodeEditor/CodeEditor.cs:140)
Unity.CodeEditor.CodeEditor:ComputeCurrentEditor (string) (at /Users/bokken/build/output/unity/unity/Editor/Mono/CodeEditor/CodeEditor.cs:205)
Unity.CodeEditor.CodeEditor:SetCodeEditor (string) (at /Users/bokken/build/output/unity/unity/Editor/Mono/CodeEditor/CodeEditor.cs:181)
Unity.CodeEditor.CodeEditor:Register (Unity.CodeEditor.IExternalCodeEditor) (at /Users/bokken/build/output/unity/unity/Editor/Mono/CodeEditor/CodeEditor.cs:215)
Packages.Rider.Editor.RiderScriptEditor:.cctor () (at ./Library/PackageCache/[email protected]/Rider/Editor/RiderScriptEditor.cs:33)
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes (System.Type[])

We're running multiple flavors of Rider (2022.1.2, 2022.2.3, 2022.3.1) if it helps.

This is happening for MacOS as well as Windows. On my MacOS box, my Rider is installed at:

/Applications/Rider.app/Contents/MacOS

Does anyone know what is causing this error? These warnings are making it hard for non-engineers from reporting actual problems in our game

Jeff

@Duveshka
Copy link
Member

Duveshka commented Jul 25, 2024

Hello! Can you upload your manifets.json to uploads.jetbrains.com, please?
Here is the issue in YT: RIDER-115192.
Do you use a custom fork of Unity or not?

@jchowdown
Copy link
Author

jchowdown commented Jul 26, 2024

Thanks Duveshka, I'm uploading our manifest file now (2024_07_26_U5TySTyef1r8CtHkdVQNhP). We are using a stock install of Unity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants