#Both Unity and Rider complain that their compilers can't resolve Baker<T>

1 messages · Page 1 of 1 (latest)

sturdy tapir
#

Entities package version: 1.0.10
Unity 2022.3.0 LTS

Here's the Unity error:

Assets\_Ours\Scripts\ECS101\SpawnerAuthoring.cs(12,33): error CS0246: The type or namespace name 'Baker<>' could not be found (are you missing a using directive or an assembly reference?)

Rider:

Cannot resolve symbol 'Baker'
#

Tried:

  1. git clean -diX; project library reset
  2. Regenerated .sln and .csproj files
#

Within Rider, it suggests that Unity.Entities is not being used.

vocal zodiac
#

first question, is this an error in unity

sturdy tapir
#

yes

vocal zodiac
#

then it's nothing to do with rider

#

you probably haven't added an assembly definition

#

or you're using a really old version of entities

sturdy tapir
#

As I said I'm using 1.0.10

#

I have all the asmdef references:

vocal zodiac
#

yeah you don't though ^_^'

#

baker is in Unity.Entities.Hybrid

sturdy tapir
#

Understood, that's a relief.