Skip to content

Conversation

@Pomdap
Copy link

@Pomdap Pomdap commented Oct 3, 2024

Issue

When starting the Unity Editor on Windows while using AppleUnityPlugins, we get the following error:

DllNotFoundException: AppleCoreNativeMac assembly:<unknown assembly> type:<unknown type> member:(null)
Apple.Core.Availability.OnApplicationStart () (at ./Packages/com.apple.unityplugin.core/Runtime/Availability.cs:13)

Expected behaviour

We should not get any Error in the Editor.

Fix

Add ifdef around the Dll imported methods.

@Pomdap Pomdap closed this Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant