When I try the "2DRPGQuickStart" tutorial, select "XY" the Default Horizontal Plane in step 01, I got the following error message.

InvalidCastException: Specified cast is not valid.
UnityEditor.EditorGUILayout.BeginScrollView (UnityEngine.Vector2 scrollPosition, System.Boolean alwaysShowHorizontal, System.Boolean alwaysShowVertical, UnityEngine.GUIStyle horizontalScrollbar, UnityEngine.GUIStyle verticalScrollbar, UnityEngine.GUIStyle background, UnityEngine.GUILayoutOption[] options) (at :0)
UnityEditor.EditorGUILayout.BeginScrollView (UnityEngine.Vector2 scrollPosition, UnityEngine.GUILayoutOption[] options) (at :0)
GamingIsLove.Makinom.Editor.BaseSelectionPopup.ShowList (System.Collections.Generic.List`1[T] list) (at <54dd7dcc64dc48c0b3ade1b7ae1aaced>:0)
GamingIsLove.Makinom.Editor.BaseSelectionPopup.OnGUI (UnityEngine.Rect rect) (at <54dd7dcc64dc48c0b3ade1b7ae1aaced>:0)
UnityEditor.PopupWindow.OnGUI () (at :0)
...(very very long so abbreviated)

Re-import of OrK tried, but the error remains...
I would like to ask you about this error.
  • Which ORK and Unity versions are you using?
    Also, do you just get an error but can otherwise still use the editor and change settings or are you unable to change settings (or editor is broken)?
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Thank you for your reply.
    ORK is 3.18.0.
    Unity is 2021.3.38f1.
    I tried using various Unity versions. However, the error remains.
    A red text error is displayed, but I can make changes and save the settings.
  • I think you can ignore that error - sometimes there's just some hickup with the editor GUI in Unity versions.
    If you can still make changes and save the settings it's all good :)
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Thank you, that's good news. I thought that I have to fix the error.
    If I have any more problems, I may ask.
Sign In or Register to comment.