Search Issue Tracker

Won't Fix

Votes

0

Found in [Package]

0.51.0

Issue ID

ECSB-39

Regression

Yes

SGICE004 Error when using GenerateAuthoringComponent

Package: Entity Component System - Bugs

-

{quote}https://forum.unity.com/threads/generateauthoringcomponent-currently-broken-in-0-51-entities.1296327/{quote}
{quote}When using Unity LTS21 and Entities 0.51, even making a Tag `IComponentData`, `GenerateAuthoringComponent` crashes the DOTS compiler and shows roughly this in the error log:

Code (txt):
#
error SGICE004: Seeing this error indicates a bug in the dots compiler. We'd appreciate a bug report (About->Report a Bug...). Thnx! <3 System.IO.IOException: Cannot create '\{ProjectPath}\Temp\GeneratedCode\Assembly-CSharp' because a file or directory with the same name already exists.
Example code that breaks the compiler:

Code (CSharp):
#
using Unity.Entities;
#
 
#
[GenerateAuthoringComponent]
#
public struct PlayerTag :IComponentData \{ }
 {quote}
 

  1. Resolution Note:

    We are focusing on resolving issues in 1.0 pre-release.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.