Compile problem

When I try to compile my project if I add a ToC, Scrivener crash. It works though if I delete the ToC.
I tried all the presets in the Compile window: same problem.

I messed up something, or it’s a bug?

Hello! Could you please give me some more information on this issue? What format were you trying to compile to? Was the ToC auto-generated as in ebooks or was it one you had created using internal links?

Thanks for your help.