Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by csabbah · May 03, 2016 at 09:37 AM · mobilecharactercharactercontrollerplatformmobileoptimization

What is this error and how can i fix it?

I switched the platform over from Mac (Which works perfectly on) to iOS and i get this error to every other object in the player, how can i fix it?alt text

Error: (AdvancedPlayerMobile (vp_FPPlayerEventHandler)) does not support the type of 'HUDDamageFlash' in 'vp_FPPlayerEventHandler'. UnityEngine.Debug:LogError(Object)

screen-shot-2016-05-02-at-34338-pm.png (514.2 kB)
Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image incorrect · May 03, 2016 at 05:43 PM 0
Share

Have you seen this?

http://www.opsive.com/assets/UFPS/forum/index.php?p=/discussion/2638/error-hero-vp-fpplayereventhandler-does-not-support-the-type-of-wield-in-vp-playereventhandl

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by yuriythebest · Jun 20, 2018 at 03:53 AM

Hello everyone! I spent hours trying to fix this and finally figured it out! 1 - vp_FPPlayerEventHandler - change the script execution order ( in my case I set it to "10" - before the other scripts) 2 - also something I did but not sure if necessary - search for any preprosessor directives in scripts such as vp_message, vp_value and add UNITY_ANDROID to the list of AOT in the preprosessor directives thing 3 - also not sure if necessary - in vp_FPPlayerEventHandler change the variables from vp_FPPlayerEventHandler

 public vp_Message<vp_DamageInfo> HUDDamageFlash;

to public vp_Message HUDDamageFlash = new vp_Message("");

( again - probably step 1 with the execution order will be enough)

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Is it possible to keep the same Vector3 value using ScreenToWorldPoint with the camera moving? 0 Answers

Does anybody have a working UFPS Mobile for iOS? I cannot for the life of me get it to work, so many errors. 0 Answers

Character controller Jumps while using Locomotion 0 Answers

Cutout shaders for 2D IOS game performance 0 Answers

Background & sprites are smearing towards the player during movement. Help determine the cause and solution? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges