You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Correct Play Mode DLL copy path for analytics_win.dll
This commit corrects the destination path for `analytics_win.dll` when copied during Play Mode setup on Windows.
Previously, the DLL was copied to `Assets/Plugins/`. This has been changed to the project root (`./`). Copying to the project root ensures that the native DLL can be found by the Unity editor executable when using P/Invoke, which typically searches the application's directory.
Changes in `editor/app/src/AnalyticsPlayModeSetup.cs`:
- The destination directory for copying `analytics_win.dll` in Play Mode is now `"./"` (the project root).
- The corresponding log message has been updated.
- Removed the `AssetDatabase.Refresh()` call, as it's not necessary for this type of DLL handling in the editor.
The build-time copy location in `DllLocationPatcher.cs` remains unchanged as it was already correct for standalone builds.
0 commit comments