Profile image

Trying to Create a Mod (SOLVED)

120 OxKnight  7.6 years ago

EDIT: I had a newer version of Unity, must use 5.3.

For 3 days I've been trying to create just a simple J15 with boosted power. I follow step by step instructions but the mod won't load at all. I downloaded Unity and the Visual Studio stuff to go with it but when I load up Unity it has an empty asset list, so I can't add in the tools. I also notice that the area marked for "Script" is unusable and the only error I keep receiving is this.

UnityException: get_dataPath is not allowed to be called during serialization, call it from OnEnable instead. Called from ScriptableObject 'DockArea'.
See "Script Serialization" page in the Unity Manual for further details.
Jundroo.ModTools.Editor.ModBuilderWindow..cctor ()
Rethrow as TypeInitializationException: An exception was thrown by the type initializer for Jundroo.ModTools.Editor.ModBuilderWindow
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:262)
UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:255)
UnityEditor.HostView.OnInspectorUpdate () (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:154)

Can anyone help?

  • Log in to leave a comment
  • Profile image
    120 OxKnight

    @mushr0om
    It's going hahah. I'm more or less working on a mech, I have the body and weight done appropriately. All I need now is it's own weapon, and a way to make it fly without crashing haha.

    7.6 years ago
  • Profile image
    18.8k mushr0om

    @OxKnight How is the project going?

    7.6 years ago
  • Profile image
    120 OxKnight

    @mushr0om

    Arigato, Sensei! This is incredibly helpful!

    7.6 years ago
  • Profile image
    18.8k mushr0om

    @OxKnight Use a sphere and make a script that spawns it like this:
    https://unity3d.com/learn/tutorials/temas/multiplayer-networking/shooting-single-player

    7.6 years ago
  • Profile image
    120 OxKnight

    @mushr0om
    Thank you!

    The one thing I'm currently trying to figure out is how to make new weapons. I've loaded a mesh into Unity that I would like to use, I just don't know how I would go about making the thing shoot.

    7.6 years ago
  • Profile image
    18.8k mushr0om

    @OxKnight I'll be happy to help if you have any questions about modding

    7.6 years ago
  • Profile image
    120 OxKnight

    @oDDDity

    Dude thank you for the info, I'm still figuring this all out. I did want to use unity to create other parts n such, so this was basically the warm up. I did how ever figure out that the latest version of Unity will not create compatible mods, and that's were my problem was.

    7.6 years ago