if use movable directional light, a unexpected shadows appears in Level on android. if use stationary directional light, this shadow will not appear, but the materials on the this character have no light effect.
Hi DawnArc,
I’m not seeing the same issue with the shadow line. I’ll need a little bit more information to proceed investigating this.
- What device(s) are you using?
- Is this happening on the device only or in the Editor as well?
- Is this only happening in your project or can you reproduce in a new project? If so, can you list your exact repro steps to do so.
For your second image with the stationary Directional Light make sure that you’ve set the Dynamic Shadow Distance StationaryLight value to be something other than 0. This is the distance in Unreal Units from the camera that dynamic shadows will work from the directional light. By default it’s always set to 0 and needs to be set anytime you’re using a Stationary Directional Light.
Let me know.
Tim
thank you for your suggest!
device that I using is amazon kindle HDX 8.9’ 4th generation, the OS is FireOS 4.5.5.
this happens on the android device only, Editor is fine.
this problem can reproduce in a new project. my step is normal: first I new a empty Level as floor, than create a Cube Static Mesh, than add a material for cube, than add Directional Light. by the way, my PC’s OS is windows 10 x64.
I upload my test project on box, this problem can happen is this ue4 project:
https://app.box.com/s/x22yeds604f1qc1dhs66z0qme460ml20
with the stationary Directional Light, even when I set Dynamic Shadow Distance StationaryLight to a large value, materials have no lighting effect yet. maybe it’s some reason else.
Hey DawnArc,
Apologies for the delay. I was able to reproduce this in a blank ThirdPerson Project finally and have tested this in 4.11 p2. The issue no longer appears to be occuring that I can see. If you’d like to test for yourself you can download the 4.11 Preview 2 release from the Launcher to see if the issue is still ocurring for your project.
Thank you!
that’s all right. i would test later, thx very much!
Once you update, if you’re still seeing the same issue feel free to post back here and I can take a look. Since I’ve a good base project where I could reproduce I can start there and look into it if needed.
Hi Tim,
I’m sorry these days do not give you reply, I was testing some program.
There are 3 issue appear in this project.
And these 3 issues can reproduce in a new black project.
And my steps to reproduce these issues are very normal, just new file and coding, nothing special.
I have upload my test project on box:
[Box | Login][1]
Issue 1: one character disappeared and one character has no lighting effect.
This pic shows on PC, and all character are correct
This pic shows on my android device(amazon kindle fire HDX 8.9’ 4th gen, FireOS 4.5.5.1): one character disappeared and one has no lighting effect.
Issue 2: there is unexpected sphere appeared on viewport.
This issue only happen on PC, my android device is correct.
Issue 3: game would crash if click the image button after 1 minute,
This issue only happen on my android device, but on PC is ok. This issue will occur when device idled for 1 minute, but if click this button on game start, this issue would not occur.
At the end,by the way, I don’t know how to keep my character in the center of screen when switch camera rotation on “ChangeView” clicked, can you give some suggestion, hope for you reply.
Hi Tim, I post a new issue just only, hope for your relpy when you are not busy.
by the way, these 3 issues are in v4.11 preview 2
Hi DawnArc,
This is more issues than should be contained to a single AnswerHub post since they are all separate issues.
Character not showing:
The project you linked above only has the single character and I was not able to reproduce the character not showing up in 4.11 or 4.10. Your character that you have in the sample is high poly with ~55k triangles. The max you can have per any character is ~65k, so if any of these exceed that would need to fix your assets for mobile.
Sphere
Not sure specifically on this one, but it could possibly be the sphere that is rendered with a default pawn.
Crash with Image Button
When you post a new question with this please include the crash log and call stack that you get for this and any relevant details or assets that can recreate the issue.
Shadows not showing on characters
Depending on the device, there may be issues with dynamic shadowing, You can try enabling dynamic shadows for a stationary or static directional light by setting the directional light to static or stationary and building lighting. Then in the details panel you can use the option for Cast Modulated Shadow. I would expect this to render.
Thx so much for giving me these suggestions! I would try soon.
Hi Tim,
Shadows not showing on characters
unfortunately, even I change directional light to static or stationary and set Cast Modulated Shadow true, there’s no lighting effect on that character.
Crash with Image Button
where is the crash log file on android device, I didn’t see any log file when crash.
can I contact with you by email? if so I can report UE4 bug directly by email. I didn’t find any way to sent private message on forum.
There is no private support offered over the AnswerHub. If you need to send files privately we can accommodate you by letting you send us a download link via the forums in a private message, but that’s it.
Here is a test project using Modulated Shadows.
Test Project
You can have a look at this project to reproduce the setings or place your characters in and see how they will work with Modulated Shadows. If you’re not getting it in your project, you may need to migrate this test level to your project and see if you can get it to work using these settings.
For the button one. Make a new post on Answer Hub. This post already has three issues that are separate from one another which is not good for any tracking.
If the editor is crashing when you press the button include the call stack from the crash reporter window that pops up and the logs from your Saved folder in your project.
If it’s crashing on the device only you’ll need to go to your C:/NVPack/android-sdk-windows/tools folder and run “monitor.bat” while your game application is running on your connected device. This will open up the Android Device Monitor and have a running log.
Make the game app crash and you’ll be able to get the logs this way. You can then copy and paste these to a text file that you can attached in the AnswerHub you create.