companion icon indicating copy to clipboard operation
companion copied to clipboard

[BUG] "internal: Custom Variable: Store variable value" doesnt accept local variables as Variable to store value from

Open DaanCMP opened this issue 3 months ago • 0 comments

Make sure you're on the latest stable or beta build

  • [x] I have tested this on the latest stable or beta release

Is this a bug in companion itself or a module?

  • [x] I believe this to be a bug in companion and not a specific module

Is there an existing issue for this?

  • [x] I have searched the existing issues

Describe the bug

When trying to store a variable value in a custom variable using a button, the action doesn't accept local variables as value. The "internal: Custom Variable: Set with expression" action does accept local variables as expression

Steps To Reproduce

  1. Create button
  2. Add local variable (for example internal: User Value with Variable name "Foo" and Current value 1)
  3. Go to step 1, add action "internal: Custom Variable: Store variable value"
  4. Select random custom variable
  5. Try to select $(local:Foo) as variable, this will not work

Workaround: Go back to step 3: 3. add action "internal: Custom Variable: Set with expression" 4. select random custom variable 5. type in $(local:Foo) as variable, this will work

Expected Behavior

Being able to select local variable

Environment (please complete the following information)

- OS: Windows 11 Home 24H2 build 26100.6584
- Browser: Firefox 143.0
- Companion Version:v4.2.0+8440

Additional context

No response

DaanCMP avatar Sep 17 '25 08:09 DaanCMP