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 are updating our Terms of Service for all Unity subscription plans, effective October 13, 2022, to create a more streamlined, user-friendly set of terms. Please review them here: unity.com/legal/terms-of-service.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Tuple error conflict when adding Unity Reflect to existing project

Discussion in 'Unity Reflect' started by dsidigital, Nov 23, 2020.

  1. dsidigital

    dsidigital

    Joined:
    Dec 7, 2017
    Posts:
    3
    Hello everyone.

    We've been trying to import Unity Reflect into an ongoing project to take advantage of some of the tools provided. Unfortunately we get a chain of errors all relating to this Tuple element in the SunStudy script.

    Library\PackageCache\com.unity.reflect@1.3.0-preview.104\Runtime\Sunstudy\Scripts\Runtime\SunStudy.cs(131,23): error CS8137: Cannot define a class or member that utilizes tuples because the compiler required type 'System.Runtime.CompilerServices.TupleElementNamesAttribute' cannot be found. Are you missing a reference?

    We don't get this message when simply importing into a brand new project, so the error indicated (missing a reference) seems unlikely to lead us in a fruitful direction. More likely there's some other issue that's going unreported somehow.

    Has anyone else seen this before? Any suggestions on how to resolve this?

    Thanks,
    -John
     
unityunity