PlayEveryWare / eos_plugin_for_unity

Repository for PlayEveryWare's EOS Plugin for Unity, bringing the functionality of Epic Online Services to the Unity Game Engine.
https://eospluginforunity.playeveryware.com
288 stars 56 forks source link

Library/PackageCache/com.playeveryware.eos@c13536130d/Runtime/Core/PlatformSpecifics.cs(91,55): error CS1061: 'Options' does not contain a definition for 'RTCOptions' and no accessible extension method 'RTCOptions' accepting a first argument of type 'Options' could be found (are you missing a using directive or an assembly reference?) #625

Closed arshadbarves closed 5 months ago

arshadbarves commented 6 months ago

Describe the bug Upon attempting to update to version 3.1.2 of the plugin in macOS, I encountered an error message indicating an issue within the PlatformSpecifics.cs file. The specific error message is as follows:

Library/PackageCache/com.playeveryware.eos@c13536130d/Runtime/Core/PlatformSpecifics.cs(91,55): error CS1061: 'Options' does not contain a definition for 'RTCOptions' and no accessible extension method 'RTCOptions' accepting a first argument of type 'Options' could be found (are you missing a using directive or an assembly reference?)

Steps to Reproduce:

Attempt to update the plugin to version 3.1.2 in macOS. Observe the error message mentioned above.

Screenshots

image

System Information:

Operating System: macOS Unity Editor: [Please specify the Unity Editor version] Unity Version: 2023.2.16f1 Plugin Version: 3.1.2

Expected Behavior: The plugin should update smoothly without encountering any errors.

arthur740212 commented 5 months ago

Hello, thanks for the report. It looks like there is an extra unwanted line of code that was causing the problem. Let's look at MacOSPlatformSpecific.cs line 35. Remove the line

using Options = Epic.OnlineServices.IntegratedPlatform.Options; That should solve your issue.

We will include this fix in the release shortly after.

arshadbarves commented 5 months ago

Thanks