Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Bug Mathematics 1.2.5 throws an error in 2022.1.0a13

Discussion in '2022.1 Beta' started by Lurking-Ninja, Nov 9, 2021.

  1. Lurking-Ninja

    Lurking-Ninja

    Joined:
    Jan 20, 2015
    Posts:
    10,004
    FYI:
    Just tried to update
    com.unity.mathematics
    to
    1.2.5
    and it throws an error:
    Library\PackageCache\com.unity.mathematics@1.2.5\Unity.Mathematics.Editor\PrimitiveVectorDrawer.cs(101,96): error CS0122: 'EditorGUI.PropertyVisibility' is inaccessible due to its protection level

    This isn't in 1.2.4 where I rolled back.
     
  2. Dale_Kim

    Dale_Kim

    Unity Technologies

    Joined:
    May 8, 2019
    Posts:
    54
    Sorry about the breakage! Rolling back to 1.2.4 is what you should do here to avoid the issue.

    Mathematics 1.2.5 fixed a bug that required a change to the editor and I expected that change to be available in a14 but we skipped the a14 release. @Lurking-Ninja will you be able to update to a15 whenever that gets released?
     
    LeonhardP and Lurking-Ninja like this.
  3. Lurking-Ninja

    Lurking-Ninja

    Joined:
    Jan 20, 2015
    Posts:
    10,004
    No problem, yes, I'll be able to update, it's a toy-copy of my small project for testing purposes, no problem. Just no one reported the error, I thought I will. :)
     
    DeuS and LeonhardP like this.