Instant Close on Non-existent component



  • 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");
        }
    }
    


  • Fixed in the develop branch


Log in to reply
 

5
Online

306
Users

848
Topics

5.5k
Posts

Looks like your connection to Forum was lost, please wait while we try to reconnect.