Skip to content
QiuHanWen edited this page Mar 24, 2023 · 1 revision

When you had finish editing item scene, you can now try to build the item into mod file. Before start, you should make sure item infos in Item Manager window are set correctly.

Click Build button in Item Manager window, the build process will begin, if nothing went wrong, the packaged content will be stored in a folder with the same name as the Item under the [ProjectRootFolder]/Export/Items directory.

If warning/error occurs, check out Console window for more info.

Possible Console Error on build

‘Can't build custom scripts with warning: The C# source file 'XXX.cs' exists in the Unity project but not in the .csproj file and will not be compiled. You may need to regenerate the script project file/Script compilation will be skipped. No source files were specified! Possible Reason: The script editor failed to generate the correct csproject.’

Solution: Make sure PackagesManager window contain one and only one External Script Editor that you are using in Preferences Window-External Tools (eg:VisualStudio):

image