You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ActorIdactorId=new("123");IMyActorproxy= ActorProxy.Create<IMyActor>(actorId, nameof(MyActor));// The Init method invokes the actor directly, which then decides whether to apply de-dupe logic.await proxy.MyMethod();
Also, assume IMyActor is an internal interface (non-public).
Expected Behavior
Internal interfaces should be supported, OR there should be a friendly exception explaining why my interface is invalid.
Actual Behavior
If IMyActor is internal, I get the following cryptic exception:
System.TypeLoadException: Type 'MyNamespace.IMyActor_.actorV1.proxyIMyActoractorV1Proxy' from assembly 'MyNamespace.IMyActor_.actorV1.proxy, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' is attempting to implement an inaccessible interface.
It's not at all clear what needs to be done to fix this issue.
The text was updated successfully, but these errors were encountered:
I think providing a better exception is probably the right path here. Maybe my understanding of the scoping is incorrect but I don't think we could index into an internal class that doesn't exist within our own assembly.
Consider the following code snippet:
Also, assume
IMyActor
is an internal interface (non-public).Expected Behavior
Internal interfaces should be supported, OR there should be a friendly exception explaining why my interface is invalid.
Actual Behavior
If
IMyActor
is internal, I get the following cryptic exception:It's not at all clear what needs to be done to fix this issue.
The text was updated successfully, but these errors were encountered: