Closed IvanCerezo closed 1 month ago
The repro rate is not 100%. Some machines trigger it always and some others never. I can not say under which conditions it happens.
Hey @IvanCerezo,
Thank you for reporting this and for a detailed explanation. What is the Unity IDE version you're using when you face this error?
Thank you for your reply Version is 2022.3.47f1.
New info: Apparently the error might be triggered only if iOS Build Support Unity module is not installed in the machine. We could try to temporary work around it that way if confirmed but I guess the code should not be forcing us to do so.
Ah, nice, thanks for the additional info, it helps.
In case this is something you can check quickly, I'd be curious if you can try the quick fork which I made with the changes you suggested (https://github.com/uerceg/unity_sdk/tree/upm_example). It's pretty much current state of latest Unity SDK version + your suggested change. Trying this out would be adding UPM package via https://github.com/uerceg/unity_sdk.git?path=Assets/Adjust#upm_example.
In case you can check whether this solves your issue, that'd be great and we can include this in the upcoming release.
Checked and working fine! 👍 Thanks for your help! Can you please ping me when it is merged into the main repo so I can set the actual link to it :D
Great news, thanks for checking! It should be live soon, I'll keep you posted.
There is an error related to the compiler conditions wrapping: https://github.com/adjust/unity_sdk/blob/a5009aac5c90f20c7f374c937f20539b11794dac/Assets/Adjust/Scripts/Editor/AdjustEditor.cs#L14
Current code is:
And it looks like it should be:
Or: