warning : [Conditional("ENABLE_UNITY_COLLECTIONS_CHECKS")] guard after pc build

hello
when I build for Pc, I encounter with this warning :

An exception was thrown from a function without the correct [Conditional(“ENABLE_UNITY_COLLECTIONS_CHECKS”)] guard. Exceptions only work in the editor and so should be only thrown in a function protected by this guard

I checked this link and this link as I found out there is a problem with writing data I added the mentioned attribute and it didn’t solve.
I would be appreciate if anyone could help.

[Solved]

For guys who may have this problem. go to the edit/project settings/Burst AOT settings/uncheck burst compilation and uncheck Enable optimisations