gamedev-pro / dmotion

DMotion - A high level Animation Framework for Unity DOTS
Other
491 stars 47 forks source link

Error on installation: Undefined Assembly Defintion References in Packages #36

Open Pordrack opened 6 months ago

Pordrack commented 6 months ago

Hello ! I am having these errors in my console after installing DMotion, they stay even after clearing the console.

Library\PackageCache\com.gamedevpro.dmotion@d11e14c510\Runtime\Systems\ApplyRootMotionToEntityJob.cs(17,29): error SGJE0010: IJobEntity.Execute() parameter 'translation' of type Translation is not supported.

Library\PackageCache\com.gamedevpro.dmotion@d11e14c510\Runtime\Systems\ApplyRootMotionToEntityJob.cs(18,26): error SGJE0010: IJobEntity.Execute() parameter 'rotation' of type Rotation is not supported.

Library\PackageCache\com.gamedevpro.dmotion@d11e14c510\Runtime\Systems\SampleNonOptimizedBones.cs(19,29): error SGJE0010: IJobEntity.Execute() parameter 'translation' of type Translation is not supported.

Library\PackageCache\com.gamedevpro.dmotion@d11e14c510\Runtime\Systems\SampleNonOptimizedBones.cs(20,26): error SGJE0010: IJobEntity.Execute() parameter 'rotation' of type Rotation is not supported.

Library\PackageCache\com.gamedevpro.dmotion@d11e14c510\Runtime\Systems\SampleNonOptimizedBones.cs(21,33): error SGJE0010: IJobEntity.Execute() parameter 'scale' of type NonUniformScale is not supported.

Library\PackageCache\com.gamedevpro.dmotion@d11e14c510\Runtime\AssemblyInfo.cs(1,1): error SGICE003: This error indicates a bug in the DOTS source generators. We'd appreciate a bug report (Help -> Report a Bug...). Thanks! Error message: 'System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. |--|    at Unity.Entities.SourceGen.JobEntityGenerator.JobEntityDescription.IsLessAccessibleThan(Accessibility accessibility1, Accessibility accessibility2) |--|    at Unity.Entities.SourceGen.JobEntityGenerator.JobEntityDescription.CreateJobEntityParam(IParameterSymbol parameterSymbol, Boolean performSafetyChecks, ICollection`1 queryAllTypes, ICollection`1 queryChangeFilterTypes) |--|    at Unity.Entities.SourceGen.JobEntityGenerator.JobEntityDescription..ctor(StructDeclarationSyntax candidate, SemanticModel semanticModel, Boolean checkUserDefinedQueryForScheduling) |--|    at Unity.Entities.SourceGen.JobEntityGenerator.JobEntityGenerator.Execute(SourceProductionContext context, Compilation compilation, StructDeclarationSyntax candidate, Boolean checkUserDefinedQueriesForSchedulingJobs)'.

Library\PackageCache\com.gamedevpro.dmotion@d11e14c510\Runtime\Systems\TransferRootMotionJob.cs(20,45): error SGJE0010: IJobEntity.Execute() parameter 'translation' of type Translation is not supported.

Library\PackageCache\com.gamedevpro.dmotion@d11e14c510\Runtime\Systems\TransferRootMotionJob.cs(20,71): error SGJE0010: IJobEntity.Execute() parameter 'rotation' of type Rotation is not supported.

Library\PackageCache\com.gamedevpro.dmotion@d11e14c510\Runtime\Systems\ApplyRootMotionToEntityJob.cs(17,17): error CS0246: The type or namespace name 'Translation' could not be found (are you missing a using directive or an assembly reference?)

Library\PackageCache\com.gamedevpro.dmotion@d11e14c510\Runtime\Systems\ApplyRootMotionToEntityJob.cs(18,17): error CS0246: The type or namespace name 'Rotation' could not be found (are you missing a using directive or an assembly reference?)

Library\PackageCache\com.gamedevpro.dmotion@d11e14c510\Runtime\Systems\SampleNonOptimizedBones.cs(19,17): error CS0246: The type or namespace name 'Translation' could not be found (are you missing a using directive or an assembly reference?)

Library\PackageCache\com.gamedevpro.dmotion@d11e14c510\Runtime\Systems\SampleNonOptimizedBones.cs(20,17): error CS0246: The type or namespace name 'Rotation' could not be found (are you missing a using directive or an assembly reference?)

Library\PackageCache\com.gamedevpro.dmotion@d11e14c510\Runtime\Systems\SampleNonOptimizedBones.cs(21,17): error CS0246: The type or namespace name 'NonUniformScale' could not be found (are you missing a using directive or an assembly reference?)

Library\PackageCache\com.gamedevpro.dmotion@d11e14c510\Runtime\Systems\SampleOptimizedBonesJob.cs(19,31): error CS0246: The type or namespace name 'OptimizedBoneToRoot' could not be found (are you missing a using directive or an assembly reference?)

Library\PackageCache\com.gamedevpro.dmotion@d11e14c510\Runtime\Systems\TransferRootMotionJob.cs(20,33): error CS0246: The type or namespace name 'Translation' could not be found (are you missing a using directive or an assembly reference?)

Library\PackageCache\com.gamedevpro.dmotion@d11e14c510\Runtime\Systems\TransferRootMotionJob.cs(20,62): error CS0246: The type or namespace name 'Rotation' could not be found (are you missing a using directive or an assembly reference?)

Library\PackageCache\com.gamedevpro.dmotion@d11e14c510\Runtime\Utils\ClipSamplingUtils.cs(11,23): error CS0246: The type or namespace name 'BoneTransform' could not be found (are you missing a using directive or an assembly reference?)

Library\PackageCache\com.gamedevpro.dmotion@d11e14c510\Runtime\Utils\ClipSamplingUtils.cs(22,53): error CS0246: The type or namespace name 'BoneTransform' could not be found (are you missing a using directive or an assembly reference?)

Library\PackageCache\com.gamedevpro.dmotion@d11e14c510\Runtime\Systems\ClipSamplingSystem.cs(12,25): error CS0246: The type or namespace name 'TRSToLocalToParentSystem' could not be found (are you missing a using directive or an assembly reference?)

Library\PackageCache\com.gamedevpro.dmotion@d11e14c510\Runtime\Systems\ClipSamplingSystem.cs(13,26): error CS0246: The type or namespace name 'TRSToLocalToWorldSystem' could not be found (are you missing a using directive or an assembly reference?)

Library\PackageCache\com.gamedevpro.dmotion@d11e14c510\Runtime\Systems\ClipSamplingSystem.cs(354,60): error CS0426: The type name 'InternalCompilerQueryAndHandleData' does not exist in the type 'SampleOptimizedBonesJob'

Library\PackageCache\com.gamedevpro.dmotion@d11e14c510\Runtime\Systems\ClipSamplingSystem.cs(356,60): error CS0426: The type name 'InternalCompilerQueryAndHandleData' does not exist in the type 'SampleNonOptimizedBones'

Library\PackageCache\com.gamedevpro.dmotion@d11e14c510\Runtime\Systems\ClipSamplingSystem.cs(358,63): error CS0426: The type name 'InternalCompilerQueryAndHandleData' does not exist in the type 'ApplyRootMotionToEntityJob'

Library\PackageCache\com.gamedevpro.dmotion@d11e14c510\Runtime\Systems\ClipSamplingSystem.cs(361,58): error CS0426: The type name 'InternalCompilerQueryAndHandleData' does not exist in the type 'TransferRootMotionJob'

Most erros are from undefined type, except this one: Library\PackageCache\com.gamedevpro.dmotion@d11e14c510\Runtime\AssemblyInfo.cs(1,1): error SGICE003: This error indicates a bug in the DOTS source generators. We'd appreciate a bug report (Help -> Report a Bug...). Thanks! Error message: 'System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. |--| at Unity.Entities.SourceGen.JobEntityGenerator.JobEntityDescription.IsLessAccessibleThan(Accessibility accessibility1, Accessibility accessibility2) |--| at Unity.Entities.SourceGen.JobEntityGenerator.JobEntityDescription.CreateJobEntityParam(IParameterSymbol parameterSymbol, Boolean performSafetyChecks, ICollection1 queryAllTypes, ICollection1 queryChangeFilterTypes) |--| at Unity.Entities.SourceGen.JobEntityGenerator.JobEntityDescription..ctor(StructDeclarationSyntax candidate, SemanticModel semanticModel, Boolean checkUserDefinedQueryForScheduling) |--| at Unity.Entities.SourceGen.JobEntityGenerator.JobEntityGenerator.Execute(SourceProductionContext context, Compilation compilation, StructDeclarationSyntax candidate, Boolean checkUserDefinedQueriesForSchedulingJobs)'. While looking around in my installed package I noticed that DMotion Assembly Definition was missing Assembly Definition References. image

And was Latios Framework's image

Could there be a link ? I'm using Unity 2022.3.22f1.

MrGorthaur commented 1 month ago

@Pordrack, do you fix this problem? Please, help me if you can, i have the same issue