Unity Light baking causes artifacts - unity3d

I am getting artifacts when I use light baking.
When I apply the same material to a Cube generated in Unity it does not happen to the cube. But on the imported model you can see
I have checked the model and tried everything I can think of. There is others with the same issue on the Unity Forum.
Any ideas ? I dont seem to get help from the Unity Forum. :(

You should finetune your lightmap settings. There is a pretty good tutorial I know from Youtube that explanes how it works.
https://www.youtube.com/watch?v=VnG2gOKV9dw

Related

URP lights are not working in unity, they first worked

My project uses the URP lights that were well configured, but a while ago they stopped working, they even disappeared in the menu, the lights that are in the scene do not work and there is the following error: "error 2d renderer data must be assigned to your urp asset or camera". I am not able to fix this error.
No URP lights, and the lights error is global or normal that already had in the project
It has URP lights, but it doesn't let you add it
URP configuration
URP configuration
I have already reinstalled the URP and configured it again and the problem persists.
I don't know why, so please check them one by one.
Is this a Render Pipeline Asset for 2D?
Have you set it to Quality setting?
Did you set it to Graphics setting?
Is the Camera's Renderer specified as Default Renderer or 2d's Renderer Pipeline?
Please does anyone know why my lights problem? It's just that on the unity site all the questions I ask none of them are answered I don't know why, but I only get help from these types of sites that unity itself.

Meta Avatars have white textures in Unity Build

I really searched a long time for a solution of this problem, but I couldn't find it. Maybe one of you know, how I can fix this problem.
I created a Unity VR project for the Oculus Quest 2 and downloaded the Meta Avatar Plugin. I followed this tutorial on YouTube.
Everything is working fine during the Game Mode in Unity. But when I am building it, the Avatars has completely white textures, like in this screenshot.
I am using Unity Version 2021.3.5f1.
I think it has something to to with the building process/ Shader setup from Computer to Android, but I am not sure where or what I can change to make it run.
Does anyone has an idea?
After one day it worked suddenly. I think it was the answer from Philipp, with the Graphics settings:
Try this: Click on your relevant surface in Play mode and check what Shader the Material is using. Then stop, and go to to Edit -> Project Settings -> Graphics. Scroll down to the Always Included Shaders list and add the Shader you noted before to that list. Now compile again and see if the issue persists. (If it does, you may want to look into e.g. the Player -> Color Space setting, which can be Gamma or Linear.) –
Philipp Lenssen

Unity's URP breaking my lightning settings

Im struggling with Unity 2021.3.6f1 LTS version, from which i created a 2D URP project template, and for no reason the directional light is not affecting anything.
The scene lightning button is toggled on, and the "Sun Source" option in Lightning/Enviroment is filled with a default directional light.
Could not find anything related to this, in this version. All fixes point towards adding the Directional Light into Sun Source options, but I've tried it and couldnt get it to work.
If anyone knows something I can try out, let me know. Thanks!
(IMPORTANT)
Edit: URP seems to be breaking my lightning settings! If i remove URP from the render pipeline asset option in project settings, it fixes the lightning, but i cant get the URP version to provide lightning for my objects in the scene...
Edit2: Loaded unity's 3d urp template into a new project, added my stuff in it and everything works fine, but i would like to know why it doesnt work in the other way, or what was i missing, since i couldnt find out.

Unity: SteamVR TeleportArc not colliding correct in Build

i am using Unity 2019.4.9f1 with SteamVR. The Teleporting-System works as expected in Playmode. When I build, there are some strange collision-glitches with the TeleportArc. The point at the end does not collide correct with mesh. The colliders seem to be underneath the floor(while still working properly), or the wall mesh etc. I am also able to see the TeleportPoint through mesh.
Editor-Playmode:
Working as expected
Build:
TeleportArc not colliding with Wall
TeleportArc not colliding with Floor
TeleportPoint visible through Wall
Has anyone experienced errors like these? Thanks in advance.
Edit: I would like to show these images in my posting but I am not allowed to because of my karma.
Okay, I found a solution:
It is a problem with the Material of the Teleporting Prefab. The URP-MaterialSwitcher was not working correct. I changed the materials manually and now everything is working fine.
https://github.com/ValveSoftware/steamvr_unity_plugin/issues/875

Light Baking Issue

Before I have real-time lighting because of the performance issue, I decided to do light baking for my 3d game.
So I have mark 3d environment as static because it remains on screen always without movement.
Also changed direction light mode to Mixed because I have few moving game objects too.
But after the baking process gets completed, I got this kind of output:
In above, you can see in the above image what happened with my environment after baking and I have also included light settings if you need it.
You have to enable lightmap UVs in your 3d imported model file.
I got this reply from one Unity forum member so exact wording, I am posting here: