Spam of "Tried to change non-editable property"

Issue #839 new
Saishy Kitty created an issue

This is my object before the game starts:

After the game starts it looks like this:

And this is logged at every Inspector redraw while the object in question is selected, quickly spamming the console log:

The code is:

    public TinySeedRandom SeedRandom { get; protected set; }

    [ShowInInspector]
    protected ulong CurrentRandomSeed { get {
            if (SeedRandom == null) {
                return 0;
            } else {
                return SeedRandom.Seed;
            }
        } }

    [ShowInInspector, InlineButton("DebugSetSeed", "Set Seed")]
    protected ulong _randomSeed;

    protected void DebugSetSeed() {
        SeedRandom = new TinySeedRandom();
        SeedRandom.Initialize(_randomSeed);
    }

And if you delete the line “[ShowInInspector, InlineButton("DebugSetSeed", "Set Seed")]”
it fixes the issue, but leaves me without the debug button.

I’m using Unity 2020.3.27f1 Personal
Windows 10 Pro 19043.1526
Odin 3.0.12.0
I think I have Editor Only Mode?? I’m not using the ingame serializer if that is the question? I don’t know how to check.

Comments (0)

  1. Log in to comment