Unity 5.5 API Update failed: Recursion detected while updating scripts.

We are currently checking whether our project could be updated to Unity 5.5.

This problem occurs:

The Api Update fails with the error message:
API updating failed. Check previous console messages.

The previouse console message is:
Internal error: Recursion detected while updating scripts (assembly index: 4)

This is all information that is logged. The editor log doesn’t contain any information that is helpful.

Our project contains many scripts and plugins. I opend a new project and added all plugins. This seems to work. Adding only our scripts would be hard work because they are depending on said plugins.

Is there any possiblity to get more information on where the recursion is detected? Could you tell me which assembly is meant by assembly index 4?

Does anybody else here has this problem, too?

Thanks for your help!

As a workaround you could skip the automatic API updating. Do a full build and fix any compiler errors resulting from API changes.

Thank you! This is working. Best way was to do automatic API updating until the error appears, then closing unity, open it again and then don’t do the api updating. Then there were only a few api changes to do then.

1 Like