(i have in my level 10 entitys)the code work great for me , maybe in level that have lot of entities it crash