FlowCanvas and Corgi Engine

FlowCanvas Forums Support FlowCanvas and Corgi Engine

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2153
    setablaze777
    Participant

    Hi. I’ve been using FlowCanvqs for a while and really like it’s usefulness. However, I recently imported the Corgi Engine 2D/2.5D and now I’m seeing a bunch of console errors:

    Assets/ParadoxNotion/CanvasCore/Framework/Design/PartialEditor/Drawers/BBParameterDrawer.cs(14,53): error CS0117:Colors' does not contain a definition forlightRed’

    Assets/ParadoxNotion/CanvasCore/Framework/Design/PartialEditor/Editor.Connection.cs(171,37): error CS0117: Colors' does not contain a definition forGrey’

    Assets/ParadoxNotion/CanvasCore/Framework/Design/PartialEditor/Editor.Connection.cs(173,45): error CS0117: Colors' does not contain a definition forGrey’

    Assets/ParadoxNotion/CanvasCore/Framework/Design/PartialEditor/Editor.Connection.cs(231,24): error CS0117: Colors' does not contain a definition forGrey’

    Assets/ParadoxNotion/CanvasCore/Framework/Design/PartialEditor/Editor.Node.cs(687,34): error CS0117: Colors' does not contain a definition forlightBlue’

    Assets/ParadoxNotion/CanvasCore/Framework/Design/PartialEditor/Editors/BlackboardEditor.cs(36,33): error CS0117: Colors' does not contain a definition forlightBlue’

    Assets/ParadoxNotion/CanvasCore/Framework/Design/PartialEditor/Editors/TaskEditor.cs(131,33): error CS0117: Colors' does not contain a definition forlightBlue’

    Assets/ParadoxNotion/CanvasCore/Framework/Design/PartialEditor/Editors/TaskEditor.cs(294,24): error CS0117: Colors' does not contain a definition forlightRed’

    I didn’t see this before I added the Corgi engine. Anyone have any idea how to fix this? It’d be a bummer if I couldn’t use them both.

    Unity version 2018.2.12f1

    #2154
    toto007
    Participant

    I think that you have a conflict. So both plugins have a class Colors. Maybe the plugin Corgi Engine doesn’t have a namespace to Colors class. For fix this you can add a namespace.

    #2157
    Gavalakis
    Keymaster

    Hello,

    What @toto007 said, is exactly what the problem is (thank you for helping @toto007).

    I see this “problem” often reported due to other assets in the project that are not placed within a namespace. Sadly, the only real solution to this problem, would be to kindly ask the developer of Corgi Engine to put their asset within a namespace, which is generaly a good coding practise to do, to avoid conflicts such as this. You could of course also do it yourself if Corgi Engine dev does not want to do so for any reason.

    Thanks!

    Join us on Discord: https://discord.gg/97q2Rjh

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.