BeardedManStudios / ForgeNetworkingRemastered

See various forks, also please join the Forge Community fork of Forge Alloy! -> https://github.com/ForgeAlloyCommunity/ForgeAlloy
https://twitter.com/FarrisFaulds
Apache License 2.0
1.49k stars 306 forks source link

NCW RPC Naming Has Wrong Characters #254

Closed emrecelik95 closed 5 years ago

emrecelik95 commented 5 years ago

Version Number and Operating System(s):

Windows 10 Home Single Language 64 Bit Windows Version : 1803 Unity Version : 2018.3.10f1

Expected behavior:

Save&Compile rpc into generated file correctly

image

image

Actual behavior:

When rpc names contain 'i' character, it turns into capital 'i' letter in latin alphabet and unity gives errors because of wrong RPC names

image

image (Assets\Scripts\Guy.cs(23,35): error CS0103: The name 'RPC_DO_SOMETHING' does not exist in the current context)

Steps to reproduce:

Create a NCW object, and give it a name that contains 'i' character, Save&Compile in Turkish Windows 10 pc.

[Optional] Discord Username:

@Paynoma#9691

phalasz commented 5 years ago

Correct Discord username is @Paynoma#9691

emrecelik95 commented 5 years ago

@phalasz thanks for the solution, it worked!