Profile image

HELP - my mod fails to load

2,587 owenliu  4.0 years ago

I followed the video guide for creating a custom map, but my mod failed to load in SP.

system.Reflection.ReflectionTypeLoadExeption was thrown.
at System.Reflection.Assembly.GetTypes(System.Reflection.Asembly,Bool)

  • Log in to leave a comment
  • Profile image
    133k Kennneth

    Restart unity @owenliu

    4.0 years ago
  • Profile image
    2,587 owenliu

    @Gestour emmmmm...
    simple planes mod tool stopped working after removing unity UI...

    4.0 years ago
  • Profile image
    2,587 owenliu

    @Gestour OK, so I'll try removing Unity UI

    4.0 years ago
  • Profile image
    314k Gestour

    Check the package manager. Maybe you have Unity UI installed or something.

    4.0 years ago
  • Profile image
    2,587 owenliu

    @SuckMint I installed the package and the problem still exists
    XC

    4.0 years ago
  • Profile image
    49.1k Wogchamp

    @owenliu did you do what I said?

    4.0 years ago
  • Profile image
    2,587 owenliu

    @KennethKennethTheKenneth Maybe I shouldn't paste the whole error message?

    4.0 years ago
  • Profile image
    2,587 owenliu

    @KennethKennethTheKenneth ?

    4.0 years ago
  • Profile image
    2,587 owenliu

    @Gestour Well, unity now tells me that
    One or more errors occurred building the mod: (13:41:26): GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.
    GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.
    UnityEngine.Debug:LogErrorFormat(String, Object[])
    Jundroo.ModTools.Editor.ModBuilderWindow:BuildAndSaveProjectAssemblies(BuildTarget, Boolean)
    Jundroo.ModTools.Editor.ModBuilderWindow:BuildAssetBundle(BuildTarget, Boolean, Boolean)
    Jundroo.ModTools.Editor.ModBuilderWindow:BuildAssetBundles(String, BuildTarget[], Boolean)
    Jundroo.ModTools.Editor.ModBuilderWindow:CompleteAndSaveMod(ModTargetPlatform, Boolean)
    Jundroo.ModTools.Editor.ModBuilderWindow:OnGUI()
    UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)

    when it finishes building and saves the mod.

    4.0 years ago
  • Profile image
    133k Kennneth

    What suckmint just said @owenliu

    4.0 years ago
  • Profile image
    49.1k Wogchamp

    @owenliu you need the mac/windows build support

    4.0 years ago
  • Profile image
    2,587 owenliu

    @KennethKennethTheKenneth
    https://1drv.ms/u/s!Ak9VOebGjUnVgdoRbk8Q1Tt9hTXXOQ?e=FRfbSZ
    This is a link to a screenshot of my project, just in case I didn't explain it clearly.

    4.0 years ago
  • Profile image
    2,587 owenliu

    @KennethKennethTheKenneth
    I'm trying to export the map as a mod. I just selected the "simple planes map" and clicked "save selected scene objects".
    Speaking of RAM, I have a total of 16G and unity only allocated 1.6G so I don't think that is a problem. Anyway, the map I'm currently making was only about the size of Wright island.

    4.0 years ago
  • Profile image
    133k Kennneth

    What are you trying to export as a mod? @owenliu

    4.0 years ago
  • Profile image
    133k Kennneth

    Ahhh make your you have enough ram and restart unity @owenliu

    4.0 years ago
  • Profile image
    2,587 owenliu

    @KennethKennethTheKenneth It happened when the mod tool was writing the .spmod file.

    4.0 years ago
  • Profile image

    @owenliu idk sorry!

    4.0 years ago
  • Profile image
    2,587 owenliu

    @RedWasNotTheImposter No, I'm on windows.

    4.0 years ago
  • Profile image
    2,587 owenliu

    @KennethKennethTheKenneth Thanks, but here's another problem:

    One or more errors occurred building the mod: (8:04:29): GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.
    GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.
    GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.
    UnityEngine.Debug:LogErrorFormat(String, Object[])
    Jundroo.ModTools.Editor.ModBuilderWindow:BuildAndSaveProjectAssemblies(BuildTarget, Boolean)
    Jundroo.ModTools.Editor.ModBuilderWindow:BuildAssetBundle(BuildTarget, Boolean, Boolean)
    Jundroo.ModTools.Editor.ModBuilderWindow:BuildAssetBundles(String, BuildTarget[], Boolean)
    Jundroo.ModTools.Editor.ModBuilderWindow:CompleteAndSaveMod(ModTargetPlatform, Boolean)
    Jundroo.ModTools.Editor.ModBuilderWindow:OnGUI()
    UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)

    4.0 years ago
  • Profile image

    @owenliu are you using youre phone?

    4.0 years ago
  • Profile image
    2,587 owenliu

    @RedWasNotTheImposter Yes.

    4.0 years ago
  • Profile image
    133k Kennneth

    Files>Project settings>Player settings>Scroll down to api settings and select api 4.0+ compatible

    4.0 years ago
  • Profile image
    314k Gestour

    Set your API to 4.0

    4.0 years ago
  • Profile image
    25.9k OwO

    are you on android?

    4.0 years ago
  • Profile image

    Is it an error that's a lot of red text?

    4.0 years ago
  • Log in to see more comments