Search Unity

  1. Calling all beginners! Join the FPS Beginners Mods Challenge until December 13.
    Dismiss Notice
  2. It's Cyber Week at the Asset Store!
    Dismiss Notice

2019.1b8 2d.common package error

Discussion in '2019.1 Beta' started by PatientZero, Mar 22, 2019.

  1. PatientZero

    PatientZero

    Joined:
    Apr 8, 2015
    Posts:
    18
    After the update from Beta7 to Beta8 the compatibility with the 2d.common package broke

    Library\PackageCache\com.unity.2d.common@1.0.10-preview\Editor\InternalBridge\InternalEditorBridge.cs(9,33): error CS0117: 'InspectorWindow' does not contain a definition for 's_CurrentInspectorWindow'

    upload_2019-3-22_11-22-7.png
     
  2. srivello

    srivello

    Joined:
    Jan 16, 2011
    Posts:
    16
    Same.

    REPRO
    • I created a MyTest project in 2019.1b6 and open in the latest (2019.1b8) and see something similar.
    • Then I created new project in 2019.1b8 and DO NOT see any related error.

    FIXED!
    • I reopen the MyTest project in 2019.1b8 and open the package manager and remove the "2D Sprite Shape" version 1.0.12 which I had previously added to MyTestProject. All works now.

    TAKEAWAY
    • I see there is no newer version of "2D Sprite Shape"
    • I assume the latest public Unity Beta (e.g. 2019.1b6) is not regression tested against the latest public preview packages (e.g. "2D Sprite Shape" version 1.0.12) which is disappointing.
    • Given the public-ness of preview packages these days, that lack of testing is acceptable for public Unity Alphas but not public Unity Betas.
     
    Last edited: Mar 22, 2019
  3. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    1,713
    A package update with the fix should become available soon.
     
    RaymondEllis likes this.