Skip to content

Assertions/errors about IsMapping() #2454

Open
@jchowdown

Description

@jchowdown

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions