-
-
Notifications
You must be signed in to change notification settings - Fork 412
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unity generated exception #33
Comments
Thank you for try to use. |
thanks, I've find if exists invalid class, can not generate. |
thanks. i will try service project seperate. |
additionally i tried generate separate definition project and add method. D:\library\Unity\MagicOnion\src\MagicOnion.CodeGenerator\bin\Debug\moc.exe --input=ServiceDefin Method Collect Start 처리되지 않은 예외: System.Exception: Invalid Return Type, method:SumLegacyTaskA IMyFirstService.csusing MagicOnion; namespace FooSample |
Is your project type new csproj? |
Yes seperated new project. |
Sorry, new means VS2017's new csproj structure. |
Yes. that is VS2017's new csproj structure |
I tried unity project generate but not working.
error messages to below.
environment
==============================================================
D:\library\Unity\MagicOnion\src\MagicOnion.CodeGenerator\bin\Debug\moc.exe --input=
GRPC-Client.csproj --output=Assets\Scripts\MagicOnion\MagicOnionGenerated.cs
Project Compilation Start:GRPC-Client.csproj
Project Compilation Complete:00:00:04.0922816
Method Collect Start
처리되지 않은 예외: System.Exception: Invalid Return Type, method:.cctor returnT
ype:void
위치: MagicOnion.CodeAnalysis.MethodCollector.ExtractRequestResponseType(IMet
hodSymbol method, MethodType& methodType, String& requestType, String& responseT
ype, ITypeSymbol& unwrappedOriginalResponseType) 파일 D:\library\Unity\MagicOnio
n\src\MagicOnion.CodeGenerator\CodeAnalysis\MethodCollector.cs:줄 187
위치: MagicOnion.CodeAnalysis.MethodCollector.CreateMethodDefinition(IMethodS
ymbol y) 파일 D:\library\Unity\MagicOnion\src\MagicOnion.CodeGenerator\CodeAnaly
sis\MethodCollector.cs:줄 123
위치: System.Linq.Enumerable.WhereSelectEnumerableIterator
2.MoveNext() 위치: System.Linq.Buffer
1..ctor(IEnumerable1 source) 위치: System.Linq.Enumerable.ToArray[TSource](IEnumerable
1 source)위치: MagicOnion.CodeAnalysis.MethodCollector.b__8_0(INamedTypeSymbol
x) 파일 D:\library\Unity\MagicOnion\src\MagicOnion.CodeGenerator\CodeAnalysis\Me
thodCollector.cs:줄 73
위치: System.Linq.Enumerable.WhereSelectArrayIterator
2.MoveNext() 위치: System.Linq.Enumerable.<ConcatIterator>d__58
1.MoveNext()위치: System.Linq.Buffer
1..ctor(IEnumerable
1 source)위치: System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
위치: MagicOnion.CodeAnalysis.MethodCollector.Visit() 파일 D:\library\Unity\M
agicOnion\src\MagicOnion.CodeGenerator\CodeAnalysis\MethodCollector.cs:줄 72
위치: MagicOnion.CodeGenerator.Program.Main(String[] args) 파일 D:\library\Un
ity\MagicOnion\src\MagicOnion.CodeGenerator\Program.cs:줄 93
The text was updated successfully, but these errors were encountered: