Unity Issue Tracker - Class Properties get overwritten when using IL2CPP
Closed
UUM-12223
Class Properties get overwritten when using IL2CPP
Unity: IL2CPP
Won't Fix
2022.2.X
2022.1.X
2021.3.X
2020.3.X
Fixed in: 2022.2.0a11
Closing automatically opened port
Closing automatically opened port
Reproduction steps:
1. Open the attached project "AttributeTest.zip"
2. Make sure the Scripting Backend is IL2CPP
3. Build and Run the "boot" Scene
4. Open the Player.log (Console tab > context menu > open Player Log)
5. Search for "Added DerivedTest" and check the "[dbg] Prop: IntTest Attribute IntTest, accessor type: Replicate.AccessorInt32`1[METHOD_NAME]" under it
Expected result: The METHOD_NAME is "ReplicantTest"
Actual result: The METHOD_NAME is "DerivedTest"