Open cjhxajh opened 7 months ago
Try changing the TargetFramework of ChatApp.Shared.csproj to net8.0
trce: Grpc.AspNetCore.Server.Model.Internal.ServiceRouteBuilder[2] Discovering gRPC methods for MagicOnion.Server.Glue.MagicOnionGlueService`1[MagicOnionGlue]. dbug: Grpc.AspNetCore.Server.Model.Internal.ServiceRouteBuilder[3] No gRPC methods discovered for MagicOnion.Server.Glue.MagicOnionGlueService`1[MagicOnionGlue].
The MagicOnion server does not seem to recognize the IChatHub
implementation, which inherits from StreamingHubBase
?
Modifications made based on ChatApp, MessagePack works normally After changing to MemoryPack, the connection to the service failed.
Environment: .Net 8 / Unity2022.3.16 "MagicOnion.Serialization.MemoryPack" Version="6.0.0-preview" "MagicOnion.Server" Version="6.0.0" "MemoryPack" Version="1.10.0"
"MagicOnion.Client" Version="6.0.1" Server Log:
ClientLog:
Server Code:
Shared Code: Requests.cs Replace with MemoryPack
Responses.cs Replace with MemoryPack
Client Code for Unity: