|
Post by tango209 on Feb 7, 2015 22:25:06 GMT
Hi,
Just wanted to see if you were aware of the following exception in Unity 5 once you press play. Unfortunately, no stack trace or line number, it just opens the Hex class in the editor when double clicking it. Everything still seems to work fine though.
"Serialization depth limit exceeded at 'HoneyFramework::Hex'. There may be an object composition cycle in one or more of your serialized classes."
|
|
|
Post by khash on Feb 8, 2015 0:15:19 GMT
just fixed, it will come out with next update
|
|
|
Post by khash on Feb 8, 2015 13:14:02 GMT
Btw. If it iritates you:
Error occurs because unity tries to serialize hex structure which refers another Hexes directly. This makes loop reference which exceeds maximum depth in unity serialziation (7 levels). There is no reason to do so because save/load should work thanks to custom c# serialization. Solution is to use [NonSerialized] on properties in Hex class.
|
|