My Unity Editor script component has problem.

It’s been a long time since i’ve had his problem, but today i suddenly got sick of it so i’m posting…
I don’t know why it is happening, but script component on the inspector has broken while the other components are fine. How can I fix it? My unity editor version is 22.3.14f1, hub is 3.6.1.
9737260--1392664--upload_2024-3-29_19-8-50.png
9737260--1392655--upload_2024-3-29_19-4-12.png

what is “broken” about it? you’ve not shared anything other than a picture which could be the desired results for all we know. Are you manually drawing components? who knows.

Oh I’m sorry. I didn’t expect that I can drawing components. I want to set my inspector screen like this. I want it to show what was dragged, selected, or how much quantity it is. For example, in the picture on the question the DragController is a class I made, and when I dragged some object from the hierarchy, then it shows what I dragged.

People arent going to guess what you did… you need to show us

I’m not sure what i have to show you. Did you mean the code?

First picture is my laptop computer screen,

second one is my desktop computer screen. And here’s the ‘Some Code.’

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class SomeCode : MonoBehaviour
{
    public GameObject g0;
    // Start is called before the first frame update
    void Start()
    {
       
    }

    // Update is called once per frame
    void Update()
    {
       
    }
}

Components are all the same, codes are same, too, but laptop side shows the g0 unclearly and sometimes it is not visible at all.
If it wasn’t about code, please let me know what your demand was. I don’t know anything about settings related to it.

No point being huffy… All you showed initially was a single picture saying its broken… no explanation.
Your second picture showed a different script, with no explanation

So,
the fact its not just your component, its the window in the unity scene (although its not clear what you did to get between the 2 pictures)… you’ve run out of resources…

I restarted my computer but it still not solved… how can i solve the resource problem? And is there a setting that i can edit the inspector screen?

This is a graphics glitch, not uncommon on systems with integrated graphics (eg Intel HD). Check for graphics driver updates.

Its not specifically memory etc it doesnt have enough of, although looking at that picture are you sure your machine meets the requirements?


I’m SO sorry I should have found out from the project settings at least once. After I updated the graphic driver, I looked around the settings and found this option;‘Use IMGUI Default Inspector’. I searched about IMGUI on google, and they said the Immediate Mode GUI helps to adjust the custom inspector and in-game debugging.

My new question is,
Is this option usually turned off when you first install the editor?

mine is off but its also a per project setting i notice…

i see… Anyway, thank you for all of your replies.
And for someone who has a problem like me, the setting’s location is ‘Project settings - Editor - Use IMGUI Default Inspector’.