Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. We are looking for your feedback about Templates! Tell us about your experiences by taking our survey.
    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

Workaround: Compiler errors with Unity 2018.4

Discussion in 'Vuforia' started by meedabit, May 7, 2019.

Thread Status:
Not open for further replies.
  1. meedabit

    meedabit

    Official Vuforia Employee Vuforia

    Joined:
    Dec 8, 2016
    Posts:
    267
    With Unity 2018.4 LTS, you might see compiler errors like below when using Vuforia:

    Assets\Vuforia\Scripts\Internal\RuntimeOpenSourceInitializer.cs(61,63): error CS0234: The type or namespace name 'ScriptableRenderContext' does not exist in the namespace 'UnityEngine.Rendering' (are you missing an assembly reference?)


    This can be easily resolved by opening that script, and change all occurrences of

    #if UNITY_2018_3

    to:

    #if UNITY_2018

    A Vuforia 8.1 patch with that fix will be released shortly, in the meantime please apply this manual workaround if you want to use Unity 2018.4 LTS immediately.

    Thanks,
    Vuforia Engine Support
     
    Deleted User likes this.
Thread Status:
Not open for further replies.
unityunity