Why do I get 'detached' when running in polymer but not in Generic UI

Why do I get ‘detached’ when running in polymer but not in Generic UI. No errors.

Detatched-Polymer

I just had the same problem and found that if the entities INSTANCE NAME is not configured, you see this behavior.

That is correct. I forgotten to add the INSTANCE_NAME.
It works now.