xenko icon indicating copy to clipboard operation
xenko copied to clipboard

Namespace convention not followed and related bug

Open rob8861 opened this issue 7 years ago • 1 comments

When creating a script within Game Studio, the naming convention for Namespaces in C# is not followed properly. instead, Game Studio will ignore the solution name and only use the name of the folder the script is in.

the accepted way namespaces are referenced in a file is as followed

<SolutionName>.<SubFolder>.<SubFolder> etc etc

on the same note, if I update the namespace directly from Visual Studio , it causes two issues:

  1. if the script is already referenced, the reference will be lose.
  2. attempting to attach the script to an asset will cause Game Studio to crash unless you do a full rebuild.

rob8861 avatar Sep 29 '17 18:09 rob8861

I think this is a duplicate of the issue #626 that I raised.

dfkeenan avatar Mar 10 '18 11:03 dfkeenan