RF0001: Script class needs partial
A ReckfellObject-derived class must allow generators to add property, method and signal code.
RF0001 is an enabled-by-default build error: a class inheriting ReckfellObject lacks partial. Entity subclasses are included. The generators need to add engine integration code to the same C# type.
Reproduce
Save this complete invalid example as PartialEntity.cs. Building with Reckfell.NET.Sdk/1.0.0 reports RF0001.
using Reckfell;
public class PartialEntity : Entity
{
[Export] public int Value { get; set; } = 5;
}Fix
Add partial to the class declaration. Save this fixed version as PartialEntity.cs:
using Reckfell;
public partial class PartialEntity : Entity
{
[Export] public int Value { get; set; } = 5;
public override void _Ready() => SetMeta("ready_ran", true);
}Rebuild, then attach the script to an Entity. The installed runtime executed _Ready, read Value through the generated property binding and updated it through Set. The ready_ran metadata is a small marker for checking that _Ready ran.
Avoid a false fix
Do not disable the analyzer or generated code to hide the error. Check other declarations of the same partial type and any containing class; a non-partial container is a separate RF0002 case. Ordinary C# helper classes that do not inherit ReckfellObject do not require partial merely because they are in the project.
If RF0001 remains, check the exact file and type named by the build diagnostic, save it, and rebuild the project. This is not fixed by renaming the Entity in the level.
The invalid example was rejected by the installed analyzer, and the fixed script was imported and executed. IDE quick-fix buttons, every inheritance/generic combination and platform export were not tested.