2022.3.XThird Party Issue
Unity does not support serializable types that have different fields for Editor vs Player. There were some cases previously where the Editor didn't warn properly about violations to that rule and there was recently a fix for it that seems to expose the following issue in the com.ourpalm.ilruntime package:
In this case, there is a type "RegisterFrameInfo" that contains a field with a type that can be "List<object>" when DEBUG define is active or "UncheckedList<object>" when it's inactive.
Please notice that the former is not serializable while the latter is. So it looks like Editor is using DEBUG while the build is not, causing RegisterFrameInfo being serialized differently in Editor vs Player.