HISE Logo Forum
    • Categories
    • Register
    • Login

    Instant Close on Non-existent component

    Scheduled Pinned Locked Moved Bug Reports
    2 Posts 1 Posters 395 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • d.healeyD
      d.healey
      last edited by

      If you try to get a non-existent component in an external script's namespace HISE will close instantly and the project can't be reopened (HISE will repeatedly close when attempting to open the preset) until the error in the file is corrected.

      For example, put this in an external file and include it in your project, and call ```test.initcb()`` in you init callback. Assuming you don't have a control called "test" HISE will close instantly.

      /** External Script File test */
      
      namespace test
      {
          inline function initcb()
          {
              Content.getComponent("test");
          }
      }
      

      Libre Wave - Freedom respecting instruments and effects
      My Patreon - HISE tutorials
      YouTube Channel - Public HISE tutorials

      1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey
        last edited by

        Fixed in the develop branch

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        55

        Online

        1.7k

        Users

        11.7k

        Topics

        101.8k

        Posts