playMaker

Author Topic: PSVita Errors on build  (Read 4139 times)

ghost010

  • Junior Playmaker
  • **
  • Posts: 51
PSVita Errors on build
« on: June 07, 2014, 09:15:16 PM »
Cant compile for PS vita.
This happens on a clean build.
What did play maker broke to stop working with psvita?

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: PSVita Errors on build
« Reply #1 on: June 07, 2014, 11:45:17 PM »
Not all platforms support all of Unity's features. For example, if you open one of the MovieTexture actions at the top you'll see:

Code: [Select]
#if !(UNITY_IPHONE || UNITY_ANDROID || UNITY_FLASH || UNITY_PS3 || UNITY_BLACKBERRY || UNITY_WP8)
This means MovieTexture is not supported on those platforms. As platforms are released we add them to the list if they don't support those features.

It sounds like Unity Vita does not support MovieTextures. I believe the Vita platform define is UNITY_PSP2. You could try adding this to the list, or the quicker test would be to delete any actions that are not compatible with Vita.

We're not registered Vita developers yet, but we have beta testers using Playmaker on Vita, so we should be able to get this working for you...

ghost010

  • Junior Playmaker
  • **
  • Posts: 51
Re: PSVita Errors on build
« Reply #2 on: June 09, 2014, 01:38:54 PM »
After deleting these actions:
MovieTextureAudioSettings
PauseMovieTexture
PlayMovieTexture
RebuildTextures
SetMaterialMovieTexture
SetProceduralBoolean
SetProceduralColor
SetProceduralFloat
StopMovieTexture
WWWObject

I was able to continue the building process.

Adding UNITY_PSP2 didnt work.

Cant unity just ignore these actions? im not using them anyway.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: PSVita Errors on build
« Reply #3 on: June 09, 2014, 06:43:40 PM »
The platform directive would tell unity to ignore them. I think the proper define is UNITY_PSM. I'll double check this and add it to the actions you listed - thanks!

rustbucket

  • Playmaker Newbie
  • *
  • Posts: 5
Re: PSVita Errors on build
« Reply #4 on: July 04, 2014, 02:27:58 PM »
I did what ghost010 and deleted those actions and was also able to build, I assume there will be a fix that detects the Vita platform in a later release.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: PSVita Errors on build
« Reply #5 on: July 04, 2014, 02:57:57 PM »
Yes, the next update will include UNITY_PSM defines.