php - Unity3D database retrieves in editor but not when compiled C#. Retrieves fine in other places -
so have game built in unity3d has database access. of urls have work fine in both editing , built versions. however, 1 type (a panel display player's current score of level , top 3 scores of level) works in editor, when compile else (web, standalone, droid...) panel loads , name displays, nothing retrieved.
the difference can think of panel opens on mouse on button, while other retrievals automatic. remember when built, other url retrievals work fine , display correctly, it's 1 panel doesn't seem work right. thoughts on causing this?
the code in c# if matters. database mysql php.
add missing cancallroutine
public void showscorepanal(){ scorepanel.gameobject.setactive (true); cancallcoroutine = true; } without setting cancallcoroutine true, not guaranteed fill score field.
Comments
Post a Comment