script collapses in unity inspector and i can't access to the public properties

Hello, i have an asset i have used for about 4 years without a bug. Now, in unity 2023, when i use this asset and add it in the inspector, it kind of collapses and i can’t get it to open down so i can work with the properties.

Here is the image of what it does (it’s the script motion controller): it’s the first time i see this. Any idea how to solve this? The creator is not longer responding to his emails and supporting the asset from what i can see on the asset store.

thanks for your help

9820455--1411530--bug asset.png

contact the publisher

as said in the description, he no longer replies…

We can’t really help either.

If there’s some custom inspector stuff it does, you’ll need to investigate that on your end.

This can happen if there’s a custom inspector script for that type in the asset folder, and there’s some issue in the OnInspectorGUI() function.

If you can’t get the issue resolved by contacting the author, you could try a workaround:
Look for the problematic file in the asset folder. It might be named something like MotionControllerEditor.
Open up that file and comment out [CustomEditor (typeof(MotionController))]

//[CustomEditor (typeof(MotionController))]
public class MotionControllerEditor : Editor
{
  //...

This will cause the Editor to just draw the default inspector window.

Or you could try setting the inspector window to Debug. Right-click on the inspector window tab and select Debug.

1 Like