Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Unexpected compatilibitylevel

Discussion in 'Experimental Scripting Previews' started by jvlppm_pf, Oct 3, 2016.

  1. jvlppm_pf

    jvlppm_pf

    Joined:
    Apr 24, 2016
    Posts:
    6
    I'm receiving the following error:

    "Unexpected compatilibitylevel" [sic]

    When trying to run a project on an older Unity instalation.



    It is fixed by changing back the API compatibility level to .Net 2.0.


    Is there an ifdef to detect the new API for .Net 4.6? (another question, without changing scripting define symbols manually)
     
  2. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,936
    What is the Api Compatibility Level setting for the project when you open it in an older version of Unity? We might be missing a case here.
     
  3. noru_vira

    noru_vira

    Joined:
    Sep 25, 2013
    Posts:
    1
    if i meet this problem.what should i do? i want to cteate this project with the older version one
     
  4. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,936
    This is a pretty old issue, I don't believe that it happens any more. If you do see it with a current version of Unity, please let me know.
     
  5. bobbymartin2

    bobbymartin2

    Joined:
    Apr 8, 2020
    Posts:
    1
    Hi Josh, I do still see this issue, on Ubuntu. I installed from unity-editor-5.1.0f3+2015090301_amd64.deb

    Thanks!
     
  6. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,936
    Unity 5.1.0 is pretty old as well. Can you try it with a newer version of the Unity editor?