-
Notifications
You must be signed in to change notification settings - Fork 107
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
GetResult
and UnsafeGetStatus
appears twice in Unity assets
#63
Comments
Thank you. |
MessagePipe.csproj+netstandard2.0 and MessagePipe.csproj+net5.0 seem to execute PostBuildUnity(inspected from msbuild log). |
Oh, sorry, it seems to only depend on parallel build num(if maxcpucount=1, problem did not appear even if |
prevent duplicated method generation(#63)
This seems to be fixed by #64, closing. |
Overview
void IUniTaskSource.GetResult(short token)
andpublic IUniTaskStatus UnsafeGetStatus()
InMessagePipe/src/MessagePipe.Unity/Assets/Plugins/MessagePipe/Runtime/SubscriberExtensions.FirstAsync.cs
Lines 169 to 170 in 7a6a2bf
Environment
Steps to reproduce
dotnet build MessagePipe.sln
Expected result
Additional Information
This may be caused by executing tools/PostBuildUnity/PostBuildUnity.csproj in PostBuildEvent.
This is no problem if executing only once, but executed twice,
public UniTaskStatus GetStatus(short token)
will be hit and generating same lines again.MessagePipe/tools/PostBuildUtility/Program.cs
Lines 49 to 51 in 7a6a2bf
The text was updated successfully, but these errors were encountered: