11-20-2024 01:49 AM - edited 11-20-2024 02:13 AM
Hello I am developing an application in Unity version 2022.3.42f1, in which the app will communicate with a kafka server where it will be able to consume and produce messages. I am using Confluence.Kafka version 2.6.1. The app works fine when I run it through the editor but when I deploy it, I keep getting the error below:
System.InvalidOperationException: Unsupported platform: Unix 5.10.198.1553
11-20 09:38:41.552 16567 16706 I Unity : at Confluent.Kafka.Impl.Librdkafka.Initialize (System.String userSpecifiedPath) [0x00000] in <00000000000000000000000000000000>:0
11-20 09:38:41.552 16567 16706 I Unity : at Confluent.Kafka.Consumer`2[TKey,TValue]..ctor (Confluent.Kafka.ConsumerBuilder`2[TKey,TValue] builder) [0x00000] in <00000000000000000000000000000000>:0
11-20 09:38:41.552 16567 16706 I Unity : at Confluent.Kafka.ConsumerBuilder`2[TKey,TValue].Build () [0x00000] in <00000000000000000000000000000000>:0
11-20 09:38:41.552 16567 16706 I Unity : at Script.KafkaVideoFeed.ConsumeKafkaMessages () [0x00000] in <00000000000000000000000000000000>:0
11-20 09:38:41.552 16567 16706 I Unity : at System.Threading.Tasks.Task.Execute () [0x00000] in <00000000000000000000000000000000>:0
11-20 09:38:41.552 16567 16706 I Unity : at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <00000000000000000000000000000000>:0
11-20 09:38:41.552 16567 16706 I Unity : at System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task& currentTask
Has anyone encountered this before? I placed my dlls under Assets/Plugins folder and also added librdkafka.so file under the Assets/Plugins/Android folder.