playMaker

Author Topic: Build compilation errors  (Read 225 times)

SlamDaBrakes

  • Playmaker Newbie
  • *
  • Posts: 4
Build compilation errors
« on: May 25, 2022, 11:01:09 PM »
Hi

I am getting a lot of build complilation errors. About 999+

Code: [Select]
Assets\PlayMaker\Actions\GetVectorLength.cs(12,10): error CS0246: The type or namespace name 'FsmVector3' could not be found (are you missing a using directive or an assembly reference?)
Assets\PlayMaker\Actions\Physics2D\Collision2dEvent.cs(20,16): error CS0246: The type or namespace name 'FsmBool' could not be found (are you missing a using directive or an assembly reference?)
Assets\PlayMaker\Actions\RectTransform\RectTransformGetAnchoredPosition.cs(12,4): error CS0246: The type or namespace name 'CheckForComponent' could not be found (are you missing a using directive or an assembly reference?)

Is there a way to exclude these from builds? Short of deleting the folders.

Unity 2019.4.39f  PlayMaker 1.9.4  Xbox platform

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 6957
    • jinxtergames
Re: Build compilation errors
« Reply #1 on: May 26, 2022, 10:27:30 AM »
Hi.
Are you using some stripping level on the player settings/other/optimization?

it looks like some important scripts are excluded which are required.

also check if the 'Scripting Define Symbols' includes these :

Code: [Select]
PLAYMAKER_UTILS;PLAYMAKER;
there are probably more, Do not remove them.

SlamDaBrakes

  • Playmaker Newbie
  • *
  • Posts: 4
Re: Build compilation errors
« Reply #2 on: May 26, 2022, 11:15:51 PM »
I am not doing any stripping.

I think I have every define for Playmaker

Code: [Select]
PLAYMAKER_UTILS;PlayMakerIsPresent;PLAYMAKER;PLAYMAKER_1_9;PLAYMAKER_1_8_OR_NEWER;PLAYMAKER_1_8_5_OR_NEWER;PLAYMAKER_1_9_OR_NEWER;OOTII_BC;PLAYMAKER_1_9_1;PLAYMAKER_TMPRO
Note when I do a PC desktop build, works perfect. Only when I switch to Xbox.