Skip to content

Generic MonoBehaviour doesn't seems to work #38

@thewhitewayofdelight

Description

@thewhitewayofdelight

Hi, I'm back again with an issue :D
Hopefully you are fine :)

Summary

Generic MonoBehaviour doesn't show up in context menu of Add Component.

image

Steps to reproduce

  1. Import GenericUnityObjects sample: MonoBehaviour Example
  2. You will get a compilation error. Remove the line that has an error to remove the error.
  3. After no compilation error, notice that the "Archers Squad" game object as referenced by the README on the scene does not have a Unit component.
    image
  4. Manually adding a Unit to the game object via "Add Component" button does not work (Unit does not show up, see picture above)

Notes

  • Unity 2022.2.17
  • Windows 11
  • Assembly Version Validation is not changed (maybe not disabled) (I can't find the option on Unity 2022)

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