Script Folders count as entities

Describe the bug:

Scripts folders are included in the entity count for a game. A game can only have 5000 entities placed in the editor. When using script folders, this number is artificially reduced by the number of script folders in the game.

How do you cause this bug?

  • Create a new game
  • Add an entity to the world
  • Look at the performance → world tab and see that the number of entities is 1
  • Right click your new entity in the world tree and click create script folder
  • Notice the entity count is now 2

Which platform: PC

Your Crayta username: Cereal

Game seen in (including “Hub” or “Editor for XYZ”): Editor

How regularly do you see this? (E.g. 2/3 times - please try 3 times if possible): Every time

Time + date seen: December 15 2022

Version number (found in Help tab in Settings): 0.i1.86.138001

2 Likes