Skip to content

Editor contents not updated after material change #33

@lidiamartinez

Description

@lidiamartinez

In the custom editor file : BaseEditor, the Update() or even OnInspectorGUI() stops being called after a while. It is called every time I switch from one object to another that has an AGXUnity script at the beginning of the play mode, but after a while, it stops being called.

I don't know exactly how this works, but the problem we are having is that we are changing the material through the code, but those materials are not shown in the inspector. The old material is shown, making it hard to debug. We are using log messages intensively but due to the impact it has on the simulation time, I think there should be an update to the contents of the editor and I don't really understand why it is not updated when selecting an object. The thing is, it is not showing the current data of the object!

Thanks

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