You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating an UIDocument inside an Editor folder for editor extensions, unity places the UIDocument inside the Assembly-CSharp-Editor and the generated file is in the Assembly-CSharp project (folder: Assets/Rosalina/AutoGenerated)
Two partial classes cannot be in two different project, they must be in the same project.
Steps to Reproduce
Create an Editor folder in Assets folder.
Create an UIDocument in the Editor folder.
Right click on the UIDocument -> Rosalina -> Generate UI Script
Error on OnCreateGUI() method:
No defining declaration found for implementing declaration of partial method.
Current Behavior
The following C# error appears:
No defining declaration found for implementing declaration of partial method.
Expected Behavior
There should not be any error.
Possible Solution
A possible solution would be to have the generated file next to the UIDocument definition OR when dealing with an editor extension, create an Editor folder inside Assets/Rosalina/AutoGenerated folder.
The text was updated successfully, but these errors were encountered:
馃 Bug Report
Unity version: 2021.3.16f1
Rosalina version: 2.0.0
Description
When creating an
UIDocument
inside anEditor
folder for editor extensions, unity places theUIDocument
inside theAssembly-CSharp-Editor
and the generated file is in theAssembly-CSharp
project (folder:Assets/Rosalina/AutoGenerated
)Two
partial
classes cannot be in two different project, they must be in the same project.Steps to Reproduce
Editor
folder inAssets
folder.UIDocument
in theEditor
folder.UIDocument
->Rosalina
->Generate UI Script
OnCreateGUI()
method:Current Behavior
The following C# error appears:
Expected Behavior
There should not be any error.
Possible Solution
A possible solution would be to have the generated file next to the
UIDocument
definition OR when dealing with an editor extension, create anEditor
folder insideAssets/Rosalina/AutoGenerated
folder.The text was updated successfully, but these errors were encountered: