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
{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}
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- ":focus" style will not be shown when the UI element is unparented and reparented and the "Focus()" method is called without the "Blur()" method being called
- Crash on BucketAllocator::Allocate when importing TextMeshPro assets
- Playmode dropdown creates continuous "Layout update is struggling" errors at certain aspect ratios
- Editor takes a long time to open VFX Graph 'Subgraph' asset when it is heavily referenced by multiple other VFX Graphs
- "Editor Event Handler Error" error is thrown when using Terrain Tool shortcuts
Resolution Note:
We are focusing on resolving issues in 1.0 pre-release.