After I use the function "Create Object" I use a "Custom Code" to add the new object to a "Group", so it can to be use later as a "Resource". However, when I attempt to "Acquire Resource," the simulation does not recognize the available Resources in the Group and stops.
When I add a object manually to the same Group the simulation is working, so i don't urderstand why is no working with the objects add by the "Custom Code"