This package addresses an issue in Unity UI Toolkit where moving UXML files breaks references to templates within those files, causing Unity to log warnings.
The package automatically updates template paths inside UXML files when they are moved.
After installation, the package works automatically. When you move UXML files, template references will be updated without any action required on your part.
It works by using the AssetPostprocessor.
Also, during the first installation, you may need to manually call the update of all UXMLs.
- Open the Package Manager from
Window > Package Manager
"+" button > Add package from git URL
- Enter the following
Now: https://github.com/naxa1ka/UXMLSrcFixer.git?path=Assets/Plugins/Nxlk/UXMLSrcFixer#1.1.1