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 have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Bug Invalid AssetDatabase path....Use path relative to the project folder.

Discussion in 'Unity Hub' started by Nananurhasanah, Aug 12, 2023.

  1. Nananurhasanah

    Nananurhasanah

    Joined:
    Aug 10, 2023
    Posts:
    1
    Holaa guys, i am nana, when I was building the application there was a warning like this

    Invalid AssetDatabase path: C:/Users/HP/NEWPROJECT/Assets\VuforiaLicense.cs. Use path relative to the project folder.
    UnityEngine.StackTraceUtility:ExtractStackTrace ()
    Vuforia.EditorClasses.LicenseKeyObfuscationTask:Execute ()
    BuildObserver/<>c:<OnPreprocessBuild>b__3_0 (Vuforia.EditorClasses.VuforiaLifeCycleTask)
    System.Collections.Generic.List`1<Vuforia.EditorClasses.VuforiaLifeCycleTask>:ForEach (System.Action`1<Vuforia.EditorClasses.VuforiaLifeCycleTask>)
    BuildObserver:OnPreprocessBuild (UnityEditor.Build.Reporting.BuildReport)
    UnityEngine.GUIUtility:processEvent (int,intptr,bool&)

    can anyone help me to show where the error is?
    btw, i use unity 2020.3
     
  2. caolem

    caolem

    Joined:
    Sep 8, 2017
    Posts:
    1
    look at the path: C:/Users/HP/NEWPROJECT/Assets\VuforiaLicense.cs
    there is an inconsistency between the characters '\' and '/'
     
  3. miqdadnaduthodi

    miqdadnaduthodi

    Joined:
    Jun 16, 2022
    Posts:
    1
    Did you figure out the solution? Please let me know if u did.