9 Frequently asked questions:

Q1: Why do the virtual buttons of the Android system occur after the project is packaged?

A: Check: Project setup → Platform → Android → APKPackaging →Enable FullScreent Immersive on KitKat and above devices:

_images/9.1.png

Figure 9.1 Enable Fullscreen Immersive on KitKat and above devices checking

Q2: How to improve the frame rate of the game?

A: To improve the game frame rate, you can start from the following two aspects:

1 ) Turn off the ambient light obscuration. At this phase, the requirements of VR project for global illumination are not too high, the ambient light obscuration can be turned off by opening the project setup, entering the Engine/Rendering/Default Setting, and unchecking Ambient Occlusion and Ambient Occlusion Static Fraction:

_images/9.2.png

Figure 9.2 Ambient light obscuration use cancellation

2 ) Turn off Mobile HDR. The practice is as follows: open the project setup, go to Engine/Rendering/Mobile, and uncheck Mobile HDR:

_images/9.3.png

Figure 9.3 Mobile HDR unchecking

Q3: How to reduce the size of the game pack?

A: The size of the game pack can be decreased from three aspects:

a ) Check Create compressed cooked packages in the project setup / project / package and compress the baked contents;

b ) Uncheck the unused Plugins;

c ) Delete resources that are not used in the Content Browser.

_images/9.4.png

Figure 9.4 Compression of baked contents

Q4: How to optimize the display results?

A: The saw tooth can be effectively reduced and the display effects can be improved after opening the project setup, entering the engine/Rendering/Mobile and adjusting the Mobile MSAA. The higher the multiple, the better the optimization, but it may increase the performance consumption and affect the frame rate.

_images/9.5.png

Figure 9.5 Mobile MSAA modification

Q5: The system displays virtual buttons, how do I avoid it?

A: Set the full screen mode through the UE, as shown bin the following figure.

_images/9.6.png

Figure 9.6 Fullscreen mode setting

Q6: Project naming or path: When using Chinese, why does package failure occur with the PicoVRSDK plugin?

A: UE4 does not support Chinese, please don’t use Chinese and Chinese directories.

Q7: The project is named as test, why does package failure occur with the PicoVRSDK plugin?

A: Test is the command keyword in the UE, as shown in the following figure. It is recommended that the project name should avoid the UE command keyword.

_images/9.7.png

Figure 9.7 UE command keyword

Q8: Why does the Goblin controller flash in game from time to time?

A: Because the UE4 game logic is not in the same thread as the rendering, Epic is the motion of the smooth motion controller, it will be defaulted that the position and orientation of the motion controller will be updated before rendering, but this practice will also create a bug in which the model flashes from time to time. To circumvent this flashing, it is only necessary to select the Motion Controller component and check Disable Low Latency Update in its details panel:

_images/9.8.png

Figure 9.8 Disable Low Latency Update

Q9: How to adjust the size of RenderTexture?

A: RenderTexture can be scaled by tuning “multiples of RT size” attribute in Project Settings -> Plugins options. (Note: minimum value is 1024, maximum value is 2048)

_images/9.9.png

Figure 9.9 PicoMobile Plugin Options in Project Settings

Q10: Why is the demo frame rate for creating a default scene not high?

A: It is not recommended to use the default grid terrain provided by UE4. The terrain is complex and contains noise, normal, etc., and is not suitable for use in VR.