edited March 2017 in Makinom Support
Hey folks,

I've just gotten through the Match 3 tutorial, and I'm getting an error. I've combed through it several times over, and I can't see any errors in the steps that I've followed. Is anyone able to confirm that it is still correct with the current version of Unity? I'm getting the following error when I click on one of the gems.

Thanks,
Draice.

=====

Invalid layer id. Please use the unique id of the layer (which is not the same as its index in the list).
UnityEngine.Renderer:set_sortingLayerID(Int32)
Makinom.Schematics.Nodes.ChangeSortingLayerNode:ChangeRenderer(Renderer, Schematic)
Makinom.Schematics.Nodes.ChangeSortingLayerNode:Continue(Schematic)
Makinom.Schematics.Nodes.ChangeSortingLayerNode:Execute(Schematic)
Makinom.Schematics.Schematic:ExecuteNextNode()
Makinom.Schematics.Schematic:NodeFinished(Int32)
Makinom.Schematics.Nodes.BlinkObjectNode:Continue(Schematic)
Makinom.Schematics.Nodes.BlinkObjectNode:Execute(Schematic)
Makinom.Schematics.Schematic:ExecuteNextNode()
Makinom.Schematics.Schematic:NodeFinished(Int32)
Makinom.Schematics.Nodes.SelectGameObjectsNode:Execute(Schematic)
Makinom.Schematics.Schematic:ExecuteNextNode()
Makinom.Schematics.Schematic:NodeFinished(Int32)
Makinom.Schematics.Nodes.SelectedGameObjectsCountNode:Execute(Schematic)
Makinom.Schematics.Schematic:ExecuteNextNode()
Makinom.Schematics.Schematic:Start()
Makinom.Schematics.CoreSchematic:PlaySchematic(IExecutionStarter, GameObject, GameObject, Boolean, MachineUpdateType, Int32)
Makinom.Behaviours.BaseMachineComponent:StartMachine(Schematic, GameObject)
Makinom.Behaviours.BaseMachineComponent:StartMachine(GameObject, VariableHandler)
Makinom.Behaviours.InteractionMachineComponent:StartMachine(GameObject)
Makinom
Post edited by gamingislove on
  • Make sure you follow this setup for the Change Sorting Layer node in the JewelClick schematic.

    From the error message I'd guess that you've enabled Change Sorting Layer instead of Change Sorting Order.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • That worked, thank you very much for catching the issue!
Sign In or Register to comment.