Skip to content

Burst and Mono.Cecil conflicts #5

@MarkHelsinki

Description

@MarkHelsinki

I'm using URP, which has Burst as a dependency, and it's causing several compile conflicts with Mono.Cecil, for types like MethodBody, Instruction, OpCodes, MethodReference, CustomAttribute, PropertyDefinition, TypeDefinition and ParameterDefinition etc.

As an example, here is a compile error: The type 'MethodBody' exists in both 'Mono.Cecil, Version=0.10.0.0, Culture=neutral, PublicKeyToken=1ca091877d12ca03' and 'Unity.Burst.Cecil, Version=0.10.0.0, Culture=neutral, PublicKeyToken=fc15b93552389f74'

I've tried adding things like using MethodBody = Mono.Cecil.Cil.MethodBody; but it hasn't removed the compile errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions