Dev Update #6 - MPQ Unity Launch Pt 3
Comments
-
My IPad is telling me I used 27% battery on MPQ today that is ludicrous. I think I barely used 10% on the old engine. Again Devs please put out a fix to stop Unity for consuming so much battery
If there are supposed to be any positives to Unity I am not impressed so far
2 -
My lag is even worse today. The worst it has been yet. I’m even starting games not knowing who my opponents are, because I am giving up waiting for the opponent character icons to load. Lagging going into chat, applying boosts, starting games, opening cut scenes, making matches, closing cut scenes, getting rewards, etc. no part of the game is safe. Has also crashed more often for me today. Maybe my iPad has been fried from too much overheating!
0 -
@Gymp28 said:
@UnityGamer please tell me this has been your forum tag for years and you now are unfortunate enough to bear the moniker of ‘it-that-shall-not-be-named’ 😂Yes, UnityGamer is my forum username... but also my in-game name. I've actually been playing MPQ for almost 10 years, meaning the origins of my moniker had nothing to do with the engine whatsoever. Besides, I didn't know what Unity was back then.
1 -
KGB
Memory management under Unity is slightly complicated but not actually all that complicated if you've done stuff like this:
Since we all want to make MPQ better and are giving Unity Development advice at this point. 😄
Apologies to the normal folks, while I swap my MPQ player hat, for my Software Developer hat 🤓
This is about to get super nerdy.Don't lock it at 60FPS, give users an option in settings, to "dial it back"
https://docs.unity3d.com/6000.1/Documentation/ScriptReference/Application-targetFrameRate.htmlint tagetFramerate = (int)Math.Max(GetUserSetValue(),30); // i.e. will never go below 30 FPS
Application.targetFrameRate = (int) Math.Min(Screen.currentResolution.refreshRateRatio.value, tagetFramerate);
// don't go above currentResolution.refreshRateRatio
Or you want a simple solution:
ChangeQualitySettings.vSyncCount = 2;
https://docs.unity3d.com/6000.0/Documentation/ScriptReference/QualitySettings-vSyncCount.html
Right now you are using 1, and maxing out the refresh rate trying to match the display.
If my display does 120 Hz, 1=120Hz, 2 = 60hz (half the rate the screen is capable of, and don't use 0)Use OnDemandRendering.renderFrameInterval
I don't need a single CPU Core running at 100% sitting idle on the main page.OnDemandRendering.renderFrameInterval = 3;
https://unity.com/blog/technology/how-on-demand-rendering-can-improve-mobile-performance
https://docs.unity3d.com/6000.1/Documentation/ScriptReference/Rendering.OnDemandRendering-renderFrameInterval.html
Arguably this is a more complicated solution, but gives you the most control as a developer.
i.e. If a user hasn't interacted with the screen and nothing has changed, dynamically drop the rendering interval.I tried to drop the hint in June.
https://forums.d3go.com/discussion/comment/1056451/#Comment_1056451
Now I am dropping code snippets.This is in no means meant to be a "shot at the devs", I have empathy for them, as I have lived through many similar software scenarios in the past.
Consider these possible suggestions, coming from a 10+ year MPQ player, and a 20+ year developer.
These suggestion have nothing to do with memory management, it should help with "hot phones", "high battery usage", etc.5 -
Can’t even join pve now. “Something went awry. Try again later”. Not sure if this is lag related or something else?
0 -
I'ma need health I wasted for ending game in the middle of match. All kinds of awards I missed on the soul stone thing. And pain and suffering. 😂
0 -
@UnityGamer said:
@Gymp28 said:
@UnityGamer please tell me this has been your forum tag for years and you now are unfortunate enough to bear the moniker of ‘it-that-shall-not-be-named’ 😂Yes, UnityGamer is my forum username... but also my in-game name. I've actually been playing MPQ for almost 10 years, meaning the origins of my moniker had nothing to do with the engine whatsoever. Besides, I didn't know what Unity was back then.
So, as you can predict the future, we’d best all get some lottery numbers off you. And if you can just let us know who’s going to win the Super Bowl?
Although maybe these will be the winning details for 10 years down the line… 😕Bonus points if you can tell us if MPQ servers are still running this time next year?
0 -
@Gymp28 said:
@UnityGamer said:
@Gymp28 said:
@UnityGamer please tell me this has been your forum tag for years and you now are unfortunate enough to bear the moniker of ‘it-that-shall-not-be-named’ 😂Yes, UnityGamer is my forum username... but also my in-game name. I've actually been playing MPQ for almost 10 years, meaning the origins of my moniker had nothing to do with the engine whatsoever. Besides, I didn't know what Unity was back then.
So, as you can predict the future, we’d best all get some lottery numbers off you. And if you can just let us know who’s going to win the Super Bowl?
Although maybe these will be the winning details for 10 years down the line… 😕Bonus points if you can tell us if MPQ servers are still running this time next year?
Oh the MPQ servers will have long since become sentiment by then and we will be too busy running away from killer Arcade Doombots to remember anything that happened here.
0 -
Game is definitely crashing when my iPad gets too hot, and even after force closing the app, it cant reload mpq until I leave it to cool down (just sits with the word Marvel against a black background). Might be an iOS protection thing for when device gets too hot.
Also have a new error in pve. Crash was happening after winning a battle and then just sitting with a blue screen before the points and reward come up. After force quit, the number of clears for the node has registered, but no points awarded. After opening clears, I noticed my points were short, and even though node showed 3 clears, it was still awarding full points for the fourth clear (CL10). Completed fourth clear, have correct opening clear points, but all 4 rewards on this node, and only the 24 hours until full points again, as if I have only completed 3 clears.
Screenshot attached.
0
Categories
- All Categories
- 45.2K Marvel Puzzle Quest
- 1.6K MPQ News and Announcements
- 20.5K MPQ General Discussion
- 3K MPQ Tips and Guides
- 2.1K MPQ Character Discussion
- 173 MPQ Supports Discussion
- 2.5K MPQ Events, Tournaments, and Missions
- 2.8K MPQ Alliances
- 6.4K MPQ Suggestions and Feedback
- 6.3K MPQ Bugs and Technical Issues
- 13.9K Magic: The Gathering - Puzzle Quest
- 527 MtGPQ News & Announcements
- 5.5K MtGPQ General Discussion
- 99 MtGPQ Tips & Guides
- 434 MtGPQ Deck Strategy & Planeswalker Discussion
- 306 MtGPQ Events
- 60 MtGPQ Coalitions
- 1.2K MtGPQ Suggestions & Feedback
- 5.8K MtGPQ Bugs & Technical Issues
- 548 Other 505 Go Inc. Games
- 21 Puzzle Quest: The Legend Returns
- 5 Adventure Gnome
- 6 Word Designer: Country Home
- 390 Other Games
- 149 General Discussion
- 241 Off Topic
- 7 505 Go Inc. Forum Rules
- 7 Forum Rules and Site Announcements