1
Dev Blog / Re: Nov 11, 2017 -- How to edit UnityEngine.dll
« on: April 16, 2018, 03:05:27 AM »
hello,
I'am trying this with unity5.6.3,the code i use is https://github.com/Unity-Technologies/UnityCsReference/blob/7c7dd6798e5a0940cffa48ebc2c9db70a0ffa9a0/Runtime/Export/AttributeHelperEngine.cs
when i replace the unityengine.dll and addComponent in unity ,error happened
InvalidProgramException: Missing or incorrect header for method GetParentTypeDisallowingMultipleInclusion
UnityEngine.GameObject:AddComponent()
InvalidProgramException: Missing or incorrect header for method GetRequiredComponents
UnityEngine.GameObject:AddComponent()
Whats the problem?
Thanks!
I'am trying this with unity5.6.3,the code i use is https://github.com/Unity-Technologies/UnityCsReference/blob/7c7dd6798e5a0940cffa48ebc2c9db70a0ffa9a0/Runtime/Export/AttributeHelperEngine.cs
when i replace the unityengine.dll and addComponent in unity ,error happened
InvalidProgramException: Missing or incorrect header for method GetParentTypeDisallowingMultipleInclusion
UnityEngine.GameObject:AddComponent()
InvalidProgramException: Missing or incorrect header for method GetRequiredComponents
UnityEngine.GameObject:AddComponent()
Whats the problem?
Thanks!