HISE Logo Forum
    • Categories
    • Register
    • Login

    Instant Close on Non-existent component

    Scheduled Pinned Locked Moved Bug Reports
    2 Posts 1 Posters 437 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");
          }
      }
      

      Free HISE Bootcamp Full Course for beginners.
      YouTube Channel - Public HISE tutorials
      My Patreon - HISE tutorials

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

        Fixed in the develop branch

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

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

        42

        Online

        2.0k

        Users

        12.7k

        Topics

        110.1k

        Posts