Profile image

HELP - my mod fails to load

2,557 owenliu  3.5 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
    132k Kennneth

    Restart unity @owenliu

    3.5 years ago
  • Profile image
    2,557 owenliu

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

    3.5 years ago
  • Profile image
    2,557 owenliu

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

    3.5 years ago
  • Profile image
    313k Gestour

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

    3.5 years ago
  • Profile image
    2,557 owenliu

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

    3.5 years ago
  • Profile image
    48.8k Wogchamp

    @owenliu did you do what I said?

    3.5 years ago
  • Profile image
    2,557 owenliu

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

    3.5 years ago
  • Profile image
    2,557 owenliu

    @KennethKennethTheKenneth ?

    3.5 years ago
  • Profile image
    2,557 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.

    3.5 years ago
  • Profile image
    132k Kennneth

    What suckmint just said @owenliu

    3.5 years ago
  • Profile image
    48.8k Wogchamp

    @owenliu you need the mac/windows build support

    3.5 years ago
  • Profile image
    2,557 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.

    3.5 years ago
  • Profile image
    2,557 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.

    3.5 years ago
  • Profile image
    132k Kennneth

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

    3.5 years ago
  • Profile image
    132k Kennneth

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

    3.5 years ago
  • Profile image
    2,557 owenliu

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

    3.5 years ago
  • Profile image

    @owenliu idk sorry!

    3.5 years ago
  • Profile image
    2,557 owenliu

    @RedWasNotTheImposter No, I'm on windows.

    3.5 years ago
  • Profile image
    2,557 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)

    3.5 years ago
  • Profile image

    @owenliu are you using youre phone?

    3.5 years ago
  • Profile image
    2,557 owenliu

    @RedWasNotTheImposter Yes.

    3.5 years ago
  • Profile image
    132k Kennneth

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

    3.5 years ago
  • Profile image
    313k Gestour

    Set your API to 4.0

    3.5 years ago
  • Profile image
    25.6k OwO

    are you on android?

    3.5 years ago
  • Profile image

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

    3.5 years ago
  • Log in to see more comments