Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. We are looking for feedback on the experimental Unity Safe Mode which is aiming to help you resolve compilation errors faster during project startup.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

RectInt in 2019.3.0a12

Discussion in '2019.3 Beta' started by Hyp-X, Aug 14, 2019.

  1. Hyp-X

    Hyp-X

    Joined:
    Jun 24, 2015
    Posts:
    296
    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:
    426
    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:
    296
    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:
    426
    Thanks for this info. I'll follow-up with the graphics team.
     
unityunity