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
- "Rendering Debugger" displays incorrect overdraw count when using "Unlit/Texture" shader
- Scene and Game views break when the Editor window is snapped with the Microsoft PowerToys
- Materials do not transfer texture when the "Shader" parameter is changed from "Unlit/Texture" to "Universal Render Pipeline/Unlit"
- [Linux][Vulkan] Crash when opening searchable dialog
- The "Shader error in 'AE/Leaves': "Undefined punctual shadow filter algorithm"" error appears when build completes on a specific project
Resolution Note:
We are focusing on resolving issues in 1.0 pre-release.