Unity-Technologies / com.unity.webrtc

WebRTC package for Unity
Other
738 stars 186 forks source link

[BUG]: Missing meta files for /Runtime/Plugins/iOS #1010

Open max-krichenbauer opened 6 months ago

max-krichenbauer commented 6 months ago

Package version

3.0.0-pre.7

Environment

* OS: Windows10
* Unity version: Unity 2020.3.37

Steps To Reproduce

Add com.unity.webrtc to project via package manager or as a dependency of Unity Render Streaming.

Current Behavior

Error messages are displayed in the Console:

Asset Packages/com.unity.webrtc/Runtime/Plugins/iOS/webrtc.framework/Info.plist has no meta file, but it's in an immutable folder. The asset will be ignored.
Asset Packages/com.unity.webrtc/Runtime/Plugins/iOS/webrtc.framework/webrtc has no meta file, but it's in an immutable folder. The asset will be ignored.

Expected Behavior

No error messages should be displayed in the Console.

Anything else?

It seems like these two files are the only one in the repository that don't have a .meta file. https://github.com/Unity-Technologies/com.unity.webrtc/tree/main/Runtime/Plugins/iOS/webrtc.framework

karasusan commented 6 months ago

@max-krichenbauer That's odd. Unity Editor should ignore the meta file in framework folder. Can you try another version of Unity Editor? I recommend that you use 2022 LTS version.

FaustianDeal commented 6 months ago

Same error. The meta files aren't included in the package so Unity throws the same error. Package Version: 3.0.0-pre.7 Environment: OS: Windows 11 Unity version: Unity 2021.3.19f1 LTS

Error Message: Asset Packages/com.unity.webrtc/Runtime/Plugins/iOS/webrtc.framework/Info.plist has no meta file, but it's in an immutable folder. The asset will be ignored. Asset Packages/com.unity.webrtc/Runtime/Plugins/iOS/webrtc.framework/webrtc has no meta file, but it's in an immutable folder. The asset will be ignored.

FaustianDeal commented 6 months ago

As a temporary workaround, you can manually download the missing meta files from here: https://github.com/Unity-Technologies/com.unity.webrtc/tree/M116/Runtime/Plugins/iOS/webrtc.framework And put them into the package's temporary directory (not by dragging them into the Unity editor) However, you'll have to do this every time you load the project.

max-krichenbauer commented 6 months ago

Can confirm that this does not happen in Unity2022.3.15f1.