Search Issue Tracker
Active
Under Consideration for 6000.0.X
Votes
2
Found in
6000.0.41f1
Issue ID
UUM-99051
Regression
Yes
Incorrect Light Rendering in Newly Created High 3D Template Project
Steps to reproduce:
- Create a new project using High-definition 3D Template
- On project launch, Observe the Scene and Game Views light rendering
\\
Actual results: No light rendering or Incorrect light rendering
Expected results: Both views lights are rendered correctly
\\
Reproducible with versions: 6000.0.40f1, 6000.0.43f1
Not reproducible with versions: 2022.3.59f1, 6000.1.0b9, 6000.2.0a6, 6000.0.39f1
\\
Tested on (OS): Ubuntu 24.04, Windows 11, macOS Sequoia 15.4
Reproducible on (OS): Ubuntu 24.04, Windows 11, macOS Sequoia 15.4
\\
Notes:
- This is fixed after entering Play mode/Pressing save (i.e Ctrl + S)
- Sometimes it renders correctly after a while but not always
Comments (2)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
natanimbirhanu72
Aug 02, 2025 18:11
nati in head shout
thakurtufan847
Mar 04, 2025 00:36
using UnityEngine;
public class PlayerController : MonoBehaviour
{
public float speed = 5f;
public float jumpForce = 7f;
private Rigidbody2D rb;
private bool isGrounded;
void Start()
{
rb = GetComponent<Rigidbody2D>();
}
void Update()
{
// Automatically move right
transform.Translate(Vector2.right * speed * Time.deltaTime);
// Jump on spacebar
if (Input.GetKeyDown(KeyCode.Space) && isGrounded)
{
rb.velocity = new Vector2(rb.velocity.x, jumpForce);
}
}
private void OnCollisionEnter2D(Collision2D collision)
{
if (collision.gameObject.CompareTag("Ground"))
{
isGrounded = true;
}
}
private void OnCollisionExit2D(Collision2D collision)
{
if (collision.gameObject.CompareTag("Ground"))
{
isGrounded = false;
}
}
}