playMaker

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

ghost010

  • Junior Playmaker
  • **
  • Posts: 51
    • View Profile
PSVita Errors on build
« on: June 07, 2014, 06: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: 3632
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: PSVita Errors on build
« Reply #1 on: June 07, 2014, 08: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
    • View Profile
Re: PSVita Errors on build
« Reply #2 on: June 09, 2014, 10:38:54 AM »
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: 3632
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: PSVita Errors on build
« Reply #3 on: June 09, 2014, 03: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
    • View Profile
Re: PSVita Errors on build
« Reply #4 on: July 04, 2014, 11:27:58 AM »
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: 3632
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: PSVita Errors on build
« Reply #5 on: July 04, 2014, 11:57:57 AM »
Yes, the next update will include UNITY_PSM defines.