HISE Logo Forum
    • Categories
    • Register
    • Login

    Im at a loss. vst3 is not working in FL Studio (Access Violation)

    Scheduled Pinned Locked Moved General Questions
    12 Posts 5 Posters 1.1k 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.
    • ThinkTankT
      ThinkTank
      last edited by ThinkTank

      My exported plugin wont work. And i dont have the skills the debug this.

      I read one other user had the same problem, with ScriptFX in HISE,

      However i have none. I have just exported my vst3 and am getting an:

      OS Version:
      Windows 11 (Version 22H2, OS Build 22621.3007, 64-bit Edition)
      
      Exception:
      Access violation at address 00007FF8E754ECBB in module 'ntdll.dll'. Read of address 0000000000000000
      
      Callstack:
      00007FF8E74B0000:00007FF8E754ECBB: ntdll.dll
      00007FF8E74B0000:00007FF8E74ED1AA: ntdll.dll
      00007FF8E74B0000:00007FF8E74EC7BA: ntdll.dll
      00007FF8E49D0000:00007FF8E49E1B06: ucrtbase.dll
      00007FF8E49D0000:00007FF8E49EFF6C: ucrtbase.dll
      00007FF8E50E0000:00007FF8E5101DAB: gdi32full.dll
      00007FF8E50E0000:00007FF8E50F292C: gdi32full.dll
      00007FF8E50E0000:00007FF8E50F1502: gdi32full.dll
      000000005BEF0000:000000005C067F73: FLEngine_x64.dll
      000000005BEF0000:000000005C0B3316: FLEngine_x64.dll
      000000005BEF0000:000000005C42DA30: FLEngine_x64.dll
      000000005BEF0000:000000005C433989: FLEngine_x64.dll
      000000005BEF0000:000000005C0B3A04: FLEngine_x64.dll
      000000005BEF0000:000000005C3E5BA0: FLEngine_x64.dll
      000000005BEF0000:000000005C0B91EF: FLEngine_x64.dll
      000000005BEF0000:000000005C0B9210: FLEngine_x64.dll
      000000005BEF0000:000000005C3E408F: FLEngine_x64.dll
      000000005BEF0000:000000005C3E71E5: FLEngine_x64.dll
      000000005BEF0000:000000005C3E5A11: FLEngine_x64.dll
      000000005BEF0000:000000005C387972: FLEngine_x64.dll
      000000005BEF0000:000000005C42F0A5: FLEngine_x64.dll
      000000005BEF0000:000000005C42EADE: FLEngine_x64.dll
      000000005BEF0000:000000005BF000E0: FLEngine_x64.dll
      000000005BEF0000:000000005C225858: FLEngine_x64.dll
      000000005BEF0000:000000005C3866EA: FLEngine_x64.dll
      000000005BEF0000:000000005CB75DE4: FLEngine_x64.dll
      000000005BEF0000:000000005CBCBDFE: FLEngine_x64.dll
      000000005AAD0000:000000005AEA1EC0: Fruity Wrapper_x64.dll
      000000005AAD0000:000000005AE9BCB6: Fruity Wrapper_x64.dll
      000000005BEF0000:000000005C68BDDC: FLEngine_x64.dll
      000000005BEF0000:000000005C69637D: FLEngine_x64.dll
      000000005BEF0000:000000005C696DB8: FLEngine_x64.dll
      000000005BEF0000:000000005C7ABE20: FLEngine_x64.dll
      000000005BEF0000:000000005C7AC66E: FLEngine_x64.dll
      000000005BEF0000:000000005C7C5BFD: FLEngine_x64.dll
      000000005BEF0000:000000005C7C6EA9: FLEngine_x64.dll
      000000005BEF0000:000000005CAABB34: FLEngine_x64.dll
      000000005BEF0000:000000005CAB48BC: FLEngine_x64.dll
      000000005BEF0000:000000005C41A876: FLEngine_x64.dll
      000000005BEF0000:000000005C2148CB: FLEngine_x64.dll
      000000005BEF0000:000000005C41CC79: FLEngine_x64.dll
      000000005BEF0000:000000005C41E975: FLEngine_x64.dll
      000000005BEF0000:000000005C41E868: FLEngine_x64.dll
      000000005BEF0000:000000005C009246: FLEngine_x64.dll
      00007FF8E7140000:00007FF8E7158241: USER32.dll
      00007FF8E7140000:00007FF8E7157D01: USER32.dll
      000000005BEF0000:000000005C43E19A: FLEngine_x64.dll
      000000005BEF0000:000000005C43E208: FLEngine_x64.dll
      000000005BEF0000:000000005C43E6DA: FLEngine_x64.dll
      000000005BEF0000:000000005CC18B1D: FLEngine_x64.dll
      00007FF787710000:00007FF7879DC828: FL64.exe
      00007FF787710000:00007FF7879DC9B0: FL64.exe
      00007FF787710000:00007FF787740976: FL64.exe
      00007FF8E58E0000:00007FF8E58F257D: KERNEL32.DLL
      00007FF8E74B0000:00007FF8E750AA58: ntdll.dll
      
      Modules:
      ntdll.dll: C:\WINDOWS\SYSTEM32\ntdll.dll
      ucrtbase.dll: C:\WINDOWS\System32\ucrtbase.dll
      gdi32full.dll: C:\WINDOWS\System32\gdi32full.dll
      FLEngine_x64.dll: C:\Program Files\Image-Line\FL Studio 21\FLEngine_x64.dll
      Fruity Wrapper_x64.dll: C:\Program Files\Image-Line\FL Studio 21\Plugins\Fruity\Generators\Fruity Wrapper\Fruity Wrapper_x64.dll
      USER32.dll: C:\WINDOWS\System32\USER32.dll
      FL64.exe: C:\Program Files\Image-Line\FL Studio 21\FL64.exe
      KERNEL32.DLL: C:\WINDOWS\System32\KERNEL32.DLL
      

      Has anyone seen something like this before, and might know what would be the cause?
      The only extra tools i use is HISE Activate.

      Without problems that test the limits of your abilities, you can not expand them.

      oskarshO 1 Reply Last reply Reply Quote 0
      • oskarshO
        oskarsh @ThinkTank
        last edited by

        @ThinkTank

        Some things to check.

        Does it work in any other DAW? Reaper for example.
        Does it work standalone?

        Sometimes different DAWs give you better debug output.

        ThinkTankT 1 Reply Last reply Reply Quote 0
        • ThinkTankT
          ThinkTank @oskarsh
          last edited by

          @oskarsh

          .exe will not open at all, nothing happens.
          It does not show up in Reaper. :astonished_face:

          Without problems that test the limits of your abilities, you can not expand them.

          Christoph HartC 1 Reply Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart @ThinkTank
            last edited by

            @Lindon wasn‘t there something that caused your plugin to crash when using the copy protection flags?

            LindonL 1 Reply Last reply Reply Quote 0
            • A
              aaronventure
              last edited by

              Did you use any scriptnode? If you left any network at Allow Compilation and exported that way, it results in a broken plugin that doesn't load.

              ThinkTankT 1 Reply Last reply Reply Quote 0
              • ThinkTankT
                ThinkTank @aaronventure
                last edited by

                @aaronventure said in Im at a loss. vst3 is not working in FL Studio (Access Violation):

                ? If you left any network at Allow Compilation

                I did mess around with a stereo effect at some point. But removed it again. How can i see if there is anything leftover?

                Without problems that test the limits of your abilities, you can not expand them.

                1 Reply Last reply Reply Quote 0
                • ThinkTankT
                  ThinkTank
                  last edited by

                  Could this be the cause of it?
                  From HISE Activate:
                  Warning: default font used for getStringWidth() method (might cause race conditions on Windows)

                  Without problems that test the limits of your abilities, you can not expand them.

                  ThinkTankT oskarshO 2 Replies Last reply Reply Quote 0
                  • ThinkTankT
                    ThinkTank @ThinkTank
                    last edited by

                    @ThinkTank

                    I painstakingly spent the whole night, copying my project and removing code and UI elements one by one, and exporting every time i did a change. I added +1 to every version to make sure if was a "new" vst3 export that i could test in my DAW.

                    It only worked when i deleted absolutely everything except a background image.
                    BUT, one time i deleted "Sampler1" and it worked while still having some code and UI elements. I tried again, because it seemed weird, but it only happened once.

                    I'm at a loss.
                    Something is messed up beyond recognition.

                    Without problems that test the limits of your abilities, you can not expand them.

                    1 Reply Last reply Reply Quote 0
                    • oskarshO
                      oskarsh @ThinkTank
                      last edited by

                      @ThinkTank You can try to remove the line in your code. Make sure to always clean the build folder for a clean build.

                      1 Reply Last reply Reply Quote 0
                      • LindonL
                        Lindon @Christoph Hart
                        last edited by

                        @Christoph-Hart said in Im at a loss. vst3 is not working in FL Studio (Access Violation):

                        @Lindon wasn‘t there something that caused your plugin to crash when using the copy protection flags?

                        if there was I cant for the life of me recall what it was... sorry. I never use copy protection flags - unless Im misunderstanding this...

                        HISE Development for hire.
                        www.channelrobot.com

                        LindonL 1 Reply Last reply Reply Quote 0
                        • LindonL
                          Lindon @Lindon
                          last edited by

                          @ThinkTank -- ok I looked thru the old topics - and found the one Christoph was referring to I think... I also think you may have found it too, but just in case:##try removing your Presets code... dont load a preset on start up, and make sure that FL Studio is using fixed buffer sizes...

                          HISE Development for hire.
                          www.channelrobot.com

                          ThinkTankT 1 Reply Last reply Reply Quote 0
                          • ThinkTankT
                            ThinkTank @Lindon
                            last edited by

                            @Lindon
                            @oskarsh

                            For some odd reason it worked to remove preset codes and browser, and then just undo and export again. I have no idea why. But im just happy it works.

                            Thanks guys

                            Without problems that test the limits of your abilities, you can not expand them.

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

                            20

                            Online

                            1.7k

                            Users

                            11.9k

                            Topics

                            103.7k

                            Posts