Mod Kit Errors


  • [Context]

    Trying to play around with Mods.

    • Tags are set
    • trying to build a Item
    • Unity refuses to use the Mod Kit -> missing NAMESPACE - Ref : "UnityEditor"
    • Also, creating new "WorldObject" doesnt work (no output in >editor.log<)
    • Also, the tickboxes in the UnityWidget for the build are missing ("ModExporter.cs" seems to hard set to PC)

    [Error Output - editor.log from Unity]

    -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/Assembly-CSharp.dll
    Compilation failed: 5 error(s), 0 warnings
    -----CompilerOutput:-stderr----------
    Assets/Internal/WorldObjectEditGizmo.cs(2,7): error CS0246: The type or namespace name UnityEditor' could not be found. Are you missing an assembly reference? Assets/Internal/WorldObjectEditor.cs(3,7): error CS0246: The type or namespace nameUnityEditor' could not be found. Are you missing an assembly reference?
    Assets/Internal/WorldObjectEditor.cs(7,34): error CS0246: The type or namespace name Editor' could not be found. Are you missing an assembly reference? Assets/Internal/WorldObjectEditGizmo.cs(10,13): error CS0246: The type or namespace nameEditorApplication' could not be found. Are you missing an assembly reference?
    Assets/Internal/WorldObjectEditor.cs(21,26): error CS0115: `WorldObjectEditor.OnInspectorGUI()' is marked as an override but no suitable method found to override
    -----EndCompilerOutput---------------

    • Finished compile Library/ScriptAssemblies/Assembly-CSharp.dll
      Assets/Internal/WorldObjectEditGizmo.cs(2,7): error CS0246: The type or namespace name `UnityEditor' could not be found. Are you missing an assembly reference?

    (Filename: Assets/Internal/WorldObjectEditGizmo.cs Line: 2)

    Assets/Internal/WorldObjectEditor.cs(3,7): error CS0246: The type or namespace name `UnityEditor' could not be found. Are you missing an assembly reference?

    (Filename: Assets/Internal/WorldObjectEditor.cs Line: 3)

    Assets/Internal/WorldObjectEditor.cs(7,34): error CS0246: The type or namespace name `Editor' could not be found. Are you missing an assembly reference?

    (Filename: Assets/Internal/WorldObjectEditor.cs Line: 7)

    Assets/Internal/WorldObjectEditGizmo.cs(10,13): error CS0246: The type or namespace name `EditorApplication' could not be found. Are you missing an assembly reference?

    (Filename: Assets/Internal/WorldObjectEditGizmo.cs Line: 10)

    Assets/Internal/WorldObjectEditor.cs(21,26): error CS0115: `WorldObjectEditor.OnInspectorGUI()' is marked as an override but no suitable method found to override

    (Filename: Assets/Internal/WorldObjectEditor.cs Line: 21)

    DisplayProgressNotification: Build Failed
    Error building Player because scripts had compiler errors


  • 2
    Posts
    1549
    Views
    Log in to reply


  • Modkit is woefully outdated, but will be updated soon. You'll mainly need this for the client side parts of mods.

    Server side you are free to edit/add/change anything already existing in the mods folder.


2
Posts
1549
Views
Log in to reply

Internal error.

Oops! Looks like something went wrong!