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
- Subasset references are incorrectly redirected when editing prefabs in Prefab Mode
- [macOS] KeyDownEvent.originalMousePosition returns incorrect coordinates when last focused element was a TextField in text editing mode
- Some HDRP Wizard tooltips are rendered outside the window
- Shader error is thrown when using a Compute Shader with a second kernel
- HDR Cubemap Encoding setting resets itself when the project is reopened
Resolution Note:
We are focusing on resolving issues in 1.0 pre-release.