- Home /
Compiler error after import com.unity.rendering.hybrid package Unity Ecs
Hi, I'm new to unity ECS I tried importing rendering.hybrid package and it results in compilation errors as shared in screen shots
I am using latest package ie - "com.unity.rendering.hybrid": "0.50.0-preview.24",
I have tried deleting library files but of no use...! I have tried deleting app data same no use. upgraded unity version to latest LTS version 2021.2.15f1 no use
Does anyone have any other ideas on what I can try next?
and Thanks in advance.!
Answer by andrew-lukasik · Mar 17 at 04:55 PM
It's sometimes mandatory to look into package's dependencies before updating it:
It's especially the case here, as https://forum.unity.com/threads/dots-development-status-and-next-milestones-march-2022.1253355/ stated just yesterday:
so, in other words:
com.unity.entities 0.50
is compatible with Unity 2020 LTS
com.unity.entities 0.51
will be compatible with Unity 2021 LTS
com.unity.entities 1.0
will be compatible with Unity 2022 LTS
and
com.unity.rendering.hybrid 0.50
requires com.unity.entities 0.50
to compile
TL;DR: downgrade hybrid renderer back to
0.11.0-preview.44
or switch to Unity 2020
Thanks @andrew-lukasik
downgrading hybrid Render to 0.11.0-preview.44 didn't fix my problem but downgrading unity version to 2020.3.31f1 fixed the issue.