question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue with OSX builds in Unity 2020.2 (steam_api.bundle does not get copied to .app plugins)

See original GitHub issue

Hey @rlabrecque

I just spent a few hours to figure out why Unity build crashes on OSX after upgrading Unity to 2020.2.

I suspected it had something to do with "Plugins" folder is now being named "PlugIns", but changing that line didn’t help (also this would probably fail on case sensitive systems): https://github.com/rlabrecque/Steamworks.NET/blob/14.0.0/Editor/Steamworks.NET/RedistCopy.cs#L67

I would guess it’s something in RedistInstall.cs, didn’t have enough time to poke around it yet, could eventually do that and make a PR, unless you fix it first 😃

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:18 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
TautvydasZilyscommented, Jan 7, 2021

Oh jesus they renamed the Plugins folder…? 😕 What problem were they trying to solve? D:

It was renamed due to https://issuetracker.unity3d.com/issues/macos-code-signing-using-deep-flag-fails-on-built-package-due-to-incorrect-case-in-built-contents-slash-plugins-folder. Apple’s notarization tooling didn’t work with “Plugins”.

After RedistInstall does it’s thing, platform settings becomes AnyCPU / OSX, but after the build, an override for Mac OS X with CPU: Intel 64-bit appears in the editor:

If plugin settings change on their own, can we get a Unity bug report on this?

1reaction
spajuscommented, Jan 19, 2021

macOS Plugins -> PlugIns change causes steam_api.bundle not to get copied.

I believe it’s actually the new default build target (intel64 + silicon) that causes steam_api.bundle to not get copied. Changing the target to intel64 solves this one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issue with OSX builds in Unity 2020.2 (steam_api.bundle ...
Issue with OSX builds in Unity 2020.2 (steam_api.bundle does not get copied to .app plugins)
Read more >
Bug - Unity 2020.3.26 does not copy macOS bundle into ...
The workaround is to export an Xcode project; copy the bundle(s) to the Xcode project (sub)directory; enter the bundle directory (Finder > Show ......
Read more >
Invalid Code Signature Mac App
Our game is build with Unity 3d (Version 2020.2) after building in unity, then again in XCode the build works perfectly fine on...
Read more >
Building plug-ins for desktop platforms
Plug-ins for desktop platforms are libraries of native code you can write in C, C++ and Objective C. This page describes plug-insA set...
Read more >
Problems With MacOS Cross Platform Build : r/Unity3D
Hi, so I've been using unity for a while and have run into problems with macOS cross platform builds. I'm attempting to build...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found