Quantcast
Channel: Questions in topic: "il2cpp"
Viewing all articles
Browse latest Browse all 598

Cloud Build warning: Can't find custom attr constructor image

$
0
0
I have an iOS build target set up in Unity Cloud Build. The build is passing, and the built player is running without any obvious issue. However, the build log is filled with warning lines like this: `Can't find custom attr constructor image: /BUILD_PATH/derploid.highhandholdem.android-dev/HighHandHoldem/Library/PackageCache/com.unity.ads@3.4.4/Editor/UnityEditor.Advertisements.dll mtoken: 0x0a00000f due to: assembly:/UNITY_PATH/Unity/macos/published/Unity-2019_3_0f6/Unity.app/Contents/Managed/UnityEngine/UnityEngine.CoreModule.dll type:UnityAPICompatibilityVersionAttribute member:void {0}(string,string[]) signature:.ctor` This same message appears probably 2 or 3 dozen times in the Compact Log, and its really getting in the way of other, "substantial" log messages. I am using the IL2CPP scripting backend, and I've installed the Unity Ads package. As far as I can tell, this warning is saying that it had issues generating C++ from the Unity Ads IL because the `UnityAPICompatibilityVersionAttribute`constructor was missing. I've tried adding a `link.xml` file to try and preserve that constructor, but unfortunately none of the following have worked: - `` - `` - `` - `` - `` I have _not_ tried using `preserve="all"` on the full `UnityEngine` or `UnityEngine.CoreModule` assemblies, as that seems like a cludge. Hoping someone familiar with Cloud Build and/or IL2CPP can help me out here...

Viewing all articles
Browse latest Browse all 598

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>