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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note:
We are focusing on resolving issues in 1.0 pre-release.