Entities are not rendered (or maybe rendered somewhere else) under certain circumstances.
Reproducing test example attached.
On the scene there is entity1 with dynamically created 100 children green plane mesh entities and perpendicular to them dynamically created 3 red plane mesh entities as children of entity2.
If then do reparent 100 children green plane mesh entities (that is set parent to null, than back to needed entity) got right result.
(watch video "test_with_reparent")
Also after first reparent on next steps when creating green children plane entities are got rendered, but it looks like they got extra translation until another reparenting is done ("test_with_reparent" video).
As well want to note (maybe this will help) in my own application there was times when a few child entities sometimes are rendered in camera view with extra translation and rotation that they didn't have (no transform component, check it in debug)! But unfortunately I can reproduce it.
Reproducing examples attached:
test_right.zip - without bugs - entity1 is created one time on start.
test_wrong.zip - with bug - there are 3 steps:
1. Create entities;
2. Reparent green entities;
3. Delete entities
Second step can be commented if needed.
(didn't test this example on android, but had similar issues in my own android application)