playMaker

Author Topic: Setting camera properties like FOV works in editor but not PC standalone  (Read 672 times)

kavery

  • Full Member
  • ***
  • Posts: 149
Unity 2018.4.36
PM 1.9.1 p5

When I use actions to set camera properties, it works in editor but in a PC build nothing changes.

zorranco

  • Junior Playmaker
  • **
  • Posts: 50
Re: Setting camera properties like FOV works in editor but not PC standalone
« Reply #1 on: December 22, 2021, 05:19:13 AM »
Happened to me a few days ago. You are using get component / set property and modify de fov, right?

There's some kind of live reference to the camera that works in the editor, but the build doesn't like.

Instead, try "Get main camera action" and then "Set camera FoV" action. I'm using this for a "zoom" and it works perfectly.

I don't remember if "Set camera FoV" comes with vanilla playmaker, if not, search here and download the action.

Cheers.
« Last Edit: December 22, 2021, 05:21:27 AM by zorranco »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Setting camera properties like FOV works in editor but not PC standalone
« Reply #2 on: December 22, 2021, 10:02:29 AM »
Hi.
If you have Set/Get Properties actions you might need to use Linker Wizard
Or replace with dedicated actions.

kavery

  • Full Member
  • ***
  • Posts: 149
Re: Setting camera properties like FOV works in editor but not PC standalone
« Reply #3 on: December 23, 2021, 12:20:11 AM »
Holy moly how did I not see all those great camera actions. Thanks folks!