Search Unity

Unity 2018.2.X Script Compatibility

Discussion in 'Editor & General Support' started by junestone, Aug 18, 2018.

  1. junestone

    junestone

    Joined:
    May 30, 2017
    Posts:
    42
    Porting project from Unity2017.4.X to Unity2018.2.X, with version <= 2.3, some script just causes editor to hang upon reimporting assets.
    With all versions from 2018-2.0 to 2.4, some monobehaviour just lost, saying script contains compilation error. But no error is showing in console, log, anywhere I could imagine. like:
    namespace View {
    public class HelloView: MonoBehaviour or DerivedClassOfMonoBehaviour
    {
    ....
    }
    }
    When I remove namespace it seems the error is gone sometimes. Or I change MonoBehaviour to something else. Please help.
    PS: Unity2017/Unity5.X is working correctly.
     
  2. junestone

    junestone

    Joined:
    May 30, 2017
    Posts:
    42
    PS: when the project is broken in 2018, and then reimport it to Unity2017, the issue remains, it seems 2018 just changed file association in some .meta files causing Unity cannot load them correctly.
    I am using HiDPI monitor for dev, so if this problem couldn't be solved plz port HiDPI support down to 2017.4.X pls.