Skip to content

Mod causes error when attempting to have more than 12 recipies in MK3 Assemblers #11

Description

@star-krafter

Posting issue here since I cannot make an issue on the forked version of the mod.

Putting more than 11 recipes from the mod "More Megastructures" into the MK3 assembler causes this error to occur when a 12th recipe is imported into the 12th MK3 Assembler.

Error report: Game version 0.10.34.28529 with 14 mods used.
possible candidates: [AssemblerVerticalConstruction1.1.10]
The game errored in frame [23164061] [FactoryFacility] task phase (At worker thread [04] ordinal 4 of 23):
System.ArgumentNullException: Value cannot be null.
Parameter name: obj
  at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_monitor_enter_v4_internal(object,intptr); ( IL_0031)
  at AssemblerVerticalConstruction.AssemblerComponentEx.UpdateOutputToNext (PlanetFactory factory, int planeIndex, int assemblerId, AssemblerComponent[] assemblerPool, int assemblerNextId, bool useMutex) [0x00041] ;IL_0041 
  at AssemblerVerticalConstruction.AssemblerPatches.AssemblerParallelPatch (GameLogic __instance, int threadOrdinal) [0x000e3] ;IL_00E3 
  at (wrapper dynamic-method) GameLogic.DMD<GameLogic::_assembler_parallel>(GameLogic,int,int,int,int); ( IL_0483)
  at GameLogic.FactorySystemFacilityGameTick_Parallel (int threadOrdinal, int threadCount) [0x0003b] ;IL_003B 
  at GameLogic.OnGameLogicFrame (int iTask, int threadOrdinal, int threadCount) [0x00542] ;IL_0542 
  at WorkerThread.Run () [0x000ea] ;IL_00EA 
[== Mods on stack trace ==]: [AssemblerVerticalConstruction]
void AssemblerVerticalConstruction.AssemblerPatches::AssemblerParallelPatch(GameLogic __instance, int threadOrdinal); GameLogic._assembler_parallel(Postfix)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions