Skip to content

[MacOS] successfully patched, but light theme #17

Closed

Description

@AnisimovArthur

Description
"Unity was successfully patched. Enjoy!" but the theme still light.
I have only one version of Unity. What have I done wrong?
Could there be a problem in what I use Unity Hub?

Version Information
MacOS Catalina
Unity 2019.3.0f6

Diagnostics
Opening Unity executable from /Applications/2019.3.0f6/Unity.app/Contents/MacOS/Unity... Creating backup... Backup 'Unity.bak' created. Searching for theme offset... Patching to dark... Unity was successfully patched. Enjoy!

Arguments
sudo ./osx-x64/Patcher -e=/Applications/2019.3.0f6/Unity.app/Contents/MacOS/Unity -t=dark -mac --version=2019.3.0f6

Activity

  1. AnisimovArthur commented on Feb 27, 2020

    @AnisimovArthur
    Author

    I checked it in hex values.
    The patch really changed the values, but the theme is still light
    Screenshot 2020-02-27 at 11 22 59

  2. aevitas commented on Feb 27, 2020

    @aevitas
    Owner

    That implies the pattern it searches for is most likely wrong. In my experience, the patterns don't seem to change much between minor versions, so perhaps the previous version still works for 2019.3. Could you try running it with --version=2019.1.0f2 and see if that does the trick?

  3. AnisimovArthur commented on Feb 27, 2020

    @AnisimovArthur
    Author

    Okey. Finally I fixed the problem.

    You have to use EditorPrefs.DeleteAll();.
    And then you have to restart Unity.

  4. aevitas commented on Feb 27, 2020

    @aevitas
    Owner

    Nice find @AnisimovArthur -- I've added a troubleshooting section to the readme and added your findings to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions