Conversion from Signed Integer Type / ja:符号付き整数型からの変換 #48
Labels
blocked-vrc
Blocked due to missing underlying functionality or relying on some underspecified system
bug
Something isn't working
Describe the bug in detail:
The behavior of C# and U# is different when you do an explicit cast.
(ja: ) 明示的キャストを行った際にC#とU#で動作が異なります
Provide steps/code to reproduce the bug:
C# or U# code
(ja:) C#もしくはU#のコード
An excerpt of the problematic part of UAssembly
(ja:) 問題のある部分のUAssemblyを抜粋
Expected behavior:
If you follow C#, this U# code will be displayed in the console like this
(ja:) C#に従うならばこのU#コードはコンソールに以下のように表示します
Explicit casts to the form of using methods such as Convert.ToUInt32 It is due to compiling.
However, due to the way U# and Udon work, this may be an inevitable glitch.
I wish there is a good solution, but I think it's difficult to fix.
It would be better to present it as a specification in README.
(ja:)
明示的キャストをConvert.ToUInt32のようなメソッドを使用する形にコンパイルすることが原因です。
しかしながらU#とUdonの仕組み上これは仕方ない不具合かもしれません。
何かしら良い解決策があれば良いのですが、修正は難しいと思います。
READMEなどで仕様として提示すると良いでしょう。
The text was updated successfully, but these errors were encountered: