Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

RectInt in 2019.3.0a12

Discussion in '2019.3 Alpha' started by Hyp-X, Aug 14, 2019 at 8:11 AM.

  1. Hyp-X

    Hyp-X

    Joined:
    Jun 24, 2015
    Posts:
    151
    Upgrading from a11 to a12 I'm seeing a lot of these in our code:

    Code (CSharp):
    1. error CS0104: 'RectInt' is an ambiguous reference between 'UnityEngine.Rendering.RectInt' and 'UnityEngine.RectInt'
    2.  
    Is it intentional that RectInt has two implementations in two namespaces now?
     
  2. Charles_Beauchemin

    Charles_Beauchemin

    Unity Technologies

    Joined:
    Jan 18, 2017
    Posts:
    302
    what packages are you using in your project?
    can you paste your project manifest.json here?
     
  3. Hyp-X

    Hyp-X

    Joined:
    Jun 24, 2015
    Posts:
    151
    The package where the extra declaration comes from is:
    "com.unity.render-pipelines.core": "7.0.1",


    This used to be
    "com.unity.render-pipelines.core": "6.9.0",

    but upgrading from a11 to a12 auto-updated this package.

    Note: The project uses a custom SRP, so neither LWRP/URP nor HDRP is used, but we rely on RP core.
     
  4. Charles_Beauchemin

    Charles_Beauchemin

    Unity Technologies

    Joined:
    Jan 18, 2017
    Posts:
    302
    Thanks for this info. I'll follow-up with the graphics team.