Anaminus/rbxmk

Cannot iterate Teams children in one place

Closed this issue · 1 comments

I'm trying to access Team instances under the game.Teams folder but it doesn't work.

I have 2 places:

  1. In one place something went wrong so now Teams children cannot be iterated anymore.
  2. If I create a new empty place and add the Teams if works correctly.

The zip file contains the bad place (teams_bug.rbxlx) and the good one (teams_bug_working.rbxlx).

The attached lua file just tries to access the Team children but it crashes when executed for teams_bug.rbxlx
since it cannot find them.

This is the run command:
rbxmk run --desc-latest teams_bug.lua

The attached place + lua script which crashes since it cannot find the two Teams children:

Issue solved, the error was on my side: during modifying the roblox place file I corrupted it and it had 2 entries for the Teams property.

You can close this issue.