suriyun-production / mmorpg-kit-docs

This is document for MMORPG KIT project (https://www.assetstore.unity3d.com/#!/content/110188?aid=1100lGeN)
https://suriyun-production.github.io/mmorpg-kit-docs
49 stars 11 forks source link

IOS Skill not showing #2406

Closed john5514 closed 4 months ago

john5514 commented 5 months ago

When I switched the app to IOS, my skills stopped showing

I checked on the game database side, everything is entered correctly, maybe the loop system is not working, I put them all in the loop, again the same way, the skills do not appear.

the FXs of the skils are not visible, when I press it, it doesn't summon.

but when you enter the skils one by one, they all work fine

insthync commented 5 months ago

Is it a offline game or MMO game?

john5514 commented 5 months ago

MMO Game online

insthync commented 5 months ago

I actually not sure what is a switch meaning, switch between apps on iPhone/iPad? or you just want to tell me that you are working on iOS game development?.

The problem is it can connect to server but it has no skills ?

Can you debug it with XCode and try find an error from its debug console ?

john5514 commented 5 months ago

I made IOS platform switch from windows or android part of the project on unity

on the editor side there are no FXs of skils on the iphone or ipad side at all

The only thing that gave a warning on the xcode side was the unity purchase, otherwise there are no errors.

Yes, it connects to the server, but the skills work, you press it and it plays the animation, but the fx and particle effects that come with it do not work.

insthync commented 5 months ago

So problems is: an fx/particle effects are not playing, but skill can be applied so it can attack enemy or buffs (or etc) but it don't having an fx/particle effects, that is it?

john5514 commented 5 months ago

Yes truely

its example video

https://github.com/suriyun-production/mmorpg-kit-docs/assets/145167928/674632c7-a553-4a8d-b9ce-0ea448e0a8a3

john5514 commented 5 months ago

@insthync i try switch android not fx not show It doesn't show up completely, it doesn't show up on android anymore.

shubhank008 commented 5 months ago

Yes truely

its example video

recording-2024-02-06-07-04-22.mp4

  1. Whatever particle effect/Vfx you are using, check separately if it renders in editor, like drag-drop in scene and try to play the effect. It might be possible due to a shader/material issue.
  2. In editor, during play, you can search in your scene hierarchy for the particle effect's gameobject, if it was pre-instantiated. It should be in disabled state and when you use skill, it should enable (even if it doesnt show). That would confirm atleast the prefabs are setup correctly and working and its a visual glitch
  3. Try to switch build target to windows and check if it works

I am building for mobile as well and the Vfx/Spells work fine.

john5514 commented 5 months ago

I also know that everything was working very well in the broadcast of our application, when we switched to ios, everything was a problem, I think it was because of the jamming method.

and not worked sir @shubhank008 @insthync

insthync commented 5 months ago

May I try on your device by AnyDesk?

insthync commented 4 months ago

No answer, so I determined that you do not need help anymore, so I will close this.