x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Can't Running iOS App with deviceprofile, when xcode debug,development game running

I using device below profile.

 [iPhone5S DeviceProfile]
 DeviceType=IOS
 BaseProfileName=IOS
 +CVars=r.BloomQuality=1
 +CVars=r.DepthOfFieldQuality=0
 +CVars=r.LightShaftQuality=0
 +CVars=r.RefractionQuality=0
 ;+CVars=sg.EffectsQuality=3
 ;+CVars=r.ParticleLODBias=0
 +CVars=fx.MaxCPUParticlesPerEmitter=100
 +CVars=r.MaterialQualityLevel=2

alt text

Running Log (stuck)

 2016-10-11 16:36:20.774 MYAPP[287:13307] LogInit: Compiled (32-bit): Sep 28 2016 02:25:19
 2016-10-11 16:36:20.775 MYAPP[287:13307] LogInit: Compiled with Clang: 8.0.0 (clang-800.0.38)
 2016-10-11 16:36:20.775 MYAPP[287:13307] LogInit: Build Configuration: Development
 2016-10-11 16:36:20.775 MYAPP[287:13307] LogInit: Branch Name: ++UE4+Release-4.13
 2016-10-11 16:36:20.776 MYAPP[287:13307] LogInit: Command line:   /Game/TestMap -Messaging -SessionId=7FD2BD55264A2D3499F9539557CA12AF -SessionOwner="kimsang-u" -SessionName="Launch On Device" -iterative /Users/kimsang-u/Documents/Unreal Projects/MYAPP/MYAPP.uproject
 2016-10-11 16:36:20.776 MYAPP[287:13307] LogInit: Base directory: 
 2016-10-11 16:36:20.776 MYAPP[287:13307] LogInit: Installed Engine Build: 0
 2016-10-11 16:36:20.788 MYAPP[287:13307] LogInit: Presizing for max 131072 objects, including 0 objects not considered by GC, pre-allocating 0 bytes for permanent pool.
 2016-10-11 16:36:20.824 MYAPP[287:13307] LogInit: Object subsystem initialized
 2016-10-11 16:36:20.841 MYAPP[287:13307] [2016.10.11-07.36.20:841][  0]LogIOS: Selected Device Profile: [IPhone5S]
 2016-10-11 16:36:20.841 MYAPP[287:13307] [2016.10.11-07.36.20:841][  0]LogInit: Applying CVar settings loaded from the selected device profile: [IPhone5S]
 2016-10-11 16:36:20.937 MYAPP[287:13307] [2016.10.11-07.36.20:937][  0]LogInit: Setting Device Profile CVar: [[r.BloomQuality:1]]
 2016-10-11 16:36:20.938 MYAPP[287:13307] [2016.10.11-07.36.20:938][  0]LogInit: Setting Device Profile CVar: [[r.DepthOfFieldQuality:0]]
 2016-10-11 16:36:20.938 MYAPP[287:13307] [2016.10.11-07.36.20:938][  0]LogInit: Setting Device Profile CVar: [[r.LightShaftQuality:0]]
 2016-10-11 16:36:20.938 MYAPP[287:13307] [2016.10.11-07.36.20:938][  0]LogInit: Setting Device Profile CVar: [[r.RefractionQuality:0]]
 LogConsoleManager:Warning: Setting the console variable 'sg.EffectsQuality' with 'SetByDeviceProfile' was ignored as it is lower priority than the previous 'SetByCode'
 2016-10-11 16:36:20.938 MYAPP[287:13307] [2016.10.11-07.36.20:938][  0]LogConsoleManager:Warning: Setting the console variable 'sg.EffectsQuality' with 'SetByDeviceProfile' was ignored as it is lower priority than the previous 'SetByCode'
 2016-10-11 16:36:20.939 MYAPP[287:13307] [2016.10.11-07.36.20:939][  0]LogInit: Setting Device Profile CVar: [[sg.EffectsQuality:3]]
 2016-10-11 16:36:20.939 MYAPP[287:13307] Ensure condition failed: false [File:/Users/build/Build/++UE4+Release-4.13+Compile/Sync/Engine/Source/Runtime/Core/Private/Misc/ConfigCacheIni.cpp] [Line: 3448] 
 The ini file '../../../MYAPP/Saved/Config/IOS/DeviceProfiles.ini' tries to set the console variable 'r.ParticleLODBias' marked with ECVF_Cheat, this is only allowed in consolevariables.ini
 LogOutputDevice:Error: Ensure condition failed: false [File:/Users/build/Build/++UE4+Release-4.13+Compile/Sync/Engine/Source/Runtime/Core/Private/Misc/ConfigCacheIni.cpp] [Line: 3448]
 2016-10-11 16:36:20.939 MYAPP[287:13307] [2016.10.11-07.36.20:939][  0]LogOutputDevice:Error: Ensure condition failed: false [File:/Users/build/Build/++UE4+Release-4.13+Compile/Sync/Engine/Source/Runtime/Core/Private/Misc/ConfigCacheIni.cpp] [Line: 3448]
 2016-10-11 16:36:20.940 MYAPP[287:13307] [2016.10.11-07.36.20:939][  0]LogStats: FDebug::EnsureFailed -  0.001 s

ECVF_Cheat ? ParticleLODBias ?

It seems a bug.

And my another question is doubted that it is also UE bug.

https://answers.unrealengine.com/questions/491350/how-to-use-uplunreal-plugin-langauge-with-ios.html

Product Version: UE 4.13
Tags:
debugbuilding.png (82.6 kB)
more ▼

asked Oct 11 '16 at 10:24 AM in Bug Reports

avatar image

sangpan On 에픽
42 6 14 18

avatar image AndrewHurley Oct 11 '16 at 02:40 PM

Hello sangpan,

Did you add the r.ParticleLODBias to the list manually?

If you go to the Console Variables.ini file in your Engine > Config folder directory, you will see what the file reads in the description.

alt text

This is not a bug, but just a misplacement of that console variable file. Remove that console variable in question and place it in the ConsoleVariables.ini and let me know your results.

Thank you,

Andrew Hurley

cvars.ini.png (41.3 kB)
avatar image sangpan On 에픽 Oct 12 '16 at 05:23 AM

I copied DefaultDeviceProfiles.ini from example Project : unreal match 3.

latest version Unreal Match's DefaultDeviceProfiles.ini include r.ParticleLODBias ..

....It's fine xcode run when that item removed or commented.

but UPL build fail look like bug definitely.

avatar image AndrewHurley Oct 12 '16 at 06:31 PM

I just tried building a new UE4 project under the DebugGame scheme using the iOS Device Profile with the added 'r.ParticleLODBias 1' console variable. It successfully built without any errors, so I am not sure how you are getting the results you are reporting.

Could you provide me with some linear and simple steps so I can get this to occur on my end?

Thank you,

Andrew Hurley

avatar image sangpan On 에픽 Oct 13 '16 at 08:22 AM

alt text OSX 10.11.6

Xcode 7.3.1

  1. CreatProject Unreal Matach 3 from Epic Games Launcher

  2. Change valid iOS bundle ID ( for device building, able to match provisioning ) - project setting window

  3. launch game target iOS device. alt text

  4. See normally Running on device.

  5. Create Xcode Proejct

  6. Open UnrealMatch3.xcworkspace

  7. Change Bundle ID ( default value : com.epicgames.~~~)

  8. Change Product Name ( debug game's default : UnrealMatach3-Mac-DebugGame ) alt text

  9. Change build Scheme, Change Target iOS device.

  10. Execute Xcode Project Run.

  11. Build Success. and will device lauch game.

  12. But App crash with same reason. alt text

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

So I ran the tests using UnrealMatch3 and discovered a crash that has already been reported and is being investigated. The issue deals directly with the application loading to the device, and then almost immediately closing and returning to the home screen.

UE-35009

In regards to the Cvar 'r.ParticleLODBias', I removed that from my device profiles and still experienced the crash. It doesn't seem to be directly tied to that console variable, but just a bug with the project itself.

Let me know if you have further questions or need additional assistance.

Cheers,

Andrew Hurley

more ▼

answered Oct 13 '16 at 05:40 PM

avatar image sangpan On 에픽 Oct 17 '16 at 02:37 AM

Sometime remove/modify file action (in UE) isn't applied immediately.

So I have to forcefully clean build for mobile project.

remove Intermediate's build, ios ... folder when previous editor running with wrong? DefaultDeviceProfiles.ini...

then

  1. editor (device) running (it was normal including that ParticleLODBias)

  2. building and running with XCODE

was no problem.

and.. this optimization(Using ParticleLODBias) has been introduced to the document.

https://docs.unrealengine.com/latest/INT/Platforms/Mobile/Performance/TipsAndTricks/index.html

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question