Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug The VisualScript plugin treats custom event node types as if they were regular types

Discussion in 'Visual Scripting' started by SolarianZ, Apr 12, 2023.

  1. SolarianZ

    SolarianZ

    Joined:
    Jun 13, 2017
    Posts:
    214
    The VisualScript plugin treats custom event node types as if they were regular types.

    I am using Unity 2021.3.11f1 and VisualScripting 1.7.8.
    After following this example to create a custom node, the node did not become a custom event entry node, but instead appeared like a regular C# type node.

    In the official example, the final node should look like this:
    upload_2023-4-12_18-44-29.png

    However, what I actually obtained was this:
    upload_2023-4-12_18-45-36.png

    This custom event node also did not appear in the specified category:
    upload_2023-4-12_18-47-44.png upload_2023-4-12_18-47-23.png


    I have already configured the custom event node in the Project Settings and executed Regenerate Nodes.

    upload_2023-4-12_18-46-3.png
     
  2. PanthenEye

    PanthenEye

    Joined:
    Oct 14, 2013
    Posts:
    1,719
    Don't actually add it to node options, it should be picked up automatically because it inherits from EventUnit. You just need to regen nodes.
     
  3. SolarianZ

    SolarianZ

    Joined:
    Jun 13, 2017
    Posts:
    214
    I tried to remove it from the Type Options list, but it didn't have any effect.
    I also tried deleting the folders and library cache generated by VisualScripting, but none of these solutions solved the problem.
     
  4. termway

    termway

    Joined:
    Jul 5, 2012
    Posts:
    37
    It work properly for me (copy/paste the example)
    UVS: 1.8
    Unity: 2021.3.20f
    I put mine in one of my assembly.

    I didn't need to reference the unit in the visual scripting settings.

    Maybe you can try in an other assembly (folder) or project.