Posts: 44
Threads: 14
Joined: Dec 2017
01-30-2018, 10:12 AM
(This post was last modified: 01-30-2018, 10:37 AM by hawken.)
When Curvy is added to a project for iOS, a compile error is made in:
Code: Il2CppAttributes.cpp
The function:
Code: static void CreateMesh_t891825692_CustomAttributesCacheGenerator_m_GroupMeshes(CustomAttributesCache* cache)
Gets a duplicate bool:
Using:
Curvy 2.2.1
Unity 2017.3.0p3
Xcode 9.2
Deployment Target (any)
(would be nice to get a quick fix I can do this end as it happens every time you compile to xcode, even if you comment out the duplicate boolean)
Posts: 2,110
Threads: 92
Joined: Jun 2017
The workaround was already posted here:
https://forum.curvyeditor.com/thread-514-post-1782.html#pid1782
This happens due to a bug in IL2CPP. I already wrote to Unity about it, waiting for an answer from them.
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
Posts: 44
Threads: 14
Joined: Dec 2017
(01-30-2018, 11:41 AM)_Aka_ Wrote: The workaround was already posted here:
https://forum.curvyeditor.com/thread-514-post-1782.html#pid1782
This happens due to a bug in IL2CPP. I already wrote to Unity about it, waiting for an answer from them.
thanks this fixed it
Posts: 44
Threads: 14
Joined: Dec 2017
Posts: 2,110
Threads: 92
Joined: Jun 2017
Hi,
The fix was removed from that forum thread since it is now part of the currently released Curvy version, the 2.2.2.
The goal of that forum thread is to share fixes for important issues while waiting for them to be published as part of the next Curvy release. This avoids to people to be stuck with the issue while waiting for the publication process to be finished.
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
Posts: 2,110
Threads: 92
Joined: Jun 2017
Here is a copy of the post you were searching for, if you still need it
(01-26-2018, 08:07 PM)_Aka_ Wrote: Issue:
WebGL builds not working
Fix:
in Assets\Packages\Curvy\Base\CG Modules\CreateMesh.cs, replace the one occurrence of
Code: [FieldCondition("canUpdate", true, false, ConditionalAttribute.OperatorEnum.AND, "canGroupMeshes", true, false, Action = ConditionalAttribute.ActionEnum.Enable)]
with
Code: #if UNITY_EDITOR
[FieldCondition("canUpdate", true, false, ConditionalAttribute.OperatorEnum.AND, "canGroupMeshes", true, false, Action = ConditionalAttribute.ActionEnum.Enable)]
#endif
and both occurrences of
Code: [FieldCondition("canUpdate", true, false, ConditionalAttribute.OperatorEnum.AND, "m_Collider", CGColliderEnum.None, true, Action = ConditionalAttribute.ActionEnum.Enable)]
with
Code: #if UNITY_EDITOR
[FieldCondition("canUpdate", true, false, ConditionalAttribute.OperatorEnum.AND, "m_Collider", CGColliderEnum.None, true, Action = ConditionalAttribute.ActionEnum.Enable)]
#endif
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
Posts: 44
Threads: 14
Joined: Dec 2017
thanks! I'll put it in a safe place
Posts: 2,110
Threads: 92
Joined: Jun 2017
The best is still to just use the latest Curvy version if possible, especially that the next version to be released will have fixes to some issues you posted about in the forum.
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
|