need heelp please!!!

oliverpyro

New Member
Hello OBS developer community,

I am a new developer trying to build my first plugin and have hit a wall that I can't seem to overcome. I would be incredibly grateful for any help or insight you can provide.

**The Goal:**
My goal is to compile the basic `obs-plugin-template` without any modifications, just to establish a working development environment.

**The Problem:**
I have successfully compiled the template with ZERO errors in Visual Studio. When I check the OBS log file, it confirms that the plugin is loaded successfully. However, the "Example Source" does not appear in the OBS sources list.

**My Environment:**
* **OBS Version:** 31.1.2 (64-bit)
* **Operating System:** Windows 11 (Assumed, please correct if wrong)
* **Compiler:** Visual Studio 2022 Community
* **OBS Source Code Version:** Checked out to tag `31.1.2`
* **Project Location:** `F:\MisPluginsOBS\`

**What I Have Done (The Journey):**
1. Cloned `obs-studio` source code and checked out the `31.1.2` tag.
2. Cloned the `obs-plugin-template`.
3. Used the following CMake command from an Administrator terminal:
`cmake -S . -B build -G "Visual Studio 17 2022" -A x64 -Dobs-studio_path="F:/MisPluginsOBS/obs-studio"`
4. Opened the `.sln` file in Visual Studio and compiled in `Release` mode.
5. The compilation completes with **0 errors**.
6. Copied the resulting `.dll` to `C:\Program Files\obs-studio\obs-plugins\64bit`.
7. Installed the latest Visual C++ Redistributable (x64) and restarted the computer.

**The Evidence:**
Here is the relevant line from my OBS log file, which shows the plugin is being loaded:
`[plugintemplate-for-obs] plugin loaded successfully (version 1.0.0)`

Despite this, the source is not visible in the UI. I have been fighting this for hours and have tried everything I can think of. It feels like there is a silent failure after the module is loaded.

Is there any known issue with OBS 31.1.2, or something obvious I am missing?

Thank you so much for your time and expertise.
 
Top