Player's skin sometimes turns black when you sleeping with the custom camera
Step to Reproduce:
1.Change to your custom camera with /camera command.
From JervieA20 and his world:
Command code used from command block:
/execute as @p at @p anchored eyes run camera @p set minecraft:free ease 0.1 linear pos 41.10 -55.63 -290.39 rot ~180 ~
2.Sleep to the bed through the night.
Obversed result:
The player's skin turns black sometimes.
Expected result:
The player's skin turns the original color.
Created Issue:
Player's skin turns black when you sleeping in the custom camera
Step to Reproduce:
1.Change to your custom camera with the command.
2.Sleep to the bed with the light as you can.
Obversed result:
The player's skin turns black.
Expected result:
The player's skin turns the original color.
Player's skin turns black when you sleepinginthe custom cameraPlayer's skin turns black when you sleeping with the custom camera
Step to Reproduce:
1.Change to your custom camera with
thecommand.2.Sleep to the bed
withthe lightas you can.Obversed result:
The player's skin turns black.
Expected result:
The player's skin turns the original color.
Step to Reproduce:
1.Change to your custom camera with any /camera command.
2.Sleep to the bed in the light place.
Obversed result:
The player's skin turns black.
Expected result:
The player's skin turns the original color.
Step to Reproduce:
1.Change to your custom camera with
any/camera command.2.Sleep to the bed in the light place.
Obversed result:
The player's skin turns black.
Expected result:
The player's skin turns the original color.
Step to Reproduce:
1.Change to your custom camera with /camera command.
From JervieA20:
Command code used from command block:/execute as @p at @p anchored eyes run camera @p set minecraft:free ease 0.1 linear pos 41.10 -55.63 -290.39 rot ~180 ~
2.Sleep to the bed in the light place.Obversed result:
The player's skin turns black.
Expected result:
The player's skin turns the original color.
Step to Reproduce:
1.Change to your custom camera with /camera command.
From JervieA20:
Command code used from command block:/execute as @p at @p anchored eyes run camera @p set minecraft:free ease 0.1 linear pos 41.10 -55.63 -290.39 rot ~180 ~
2.Sleep to the bed in the light place.Obversed result:
The player's skin turns black.
Expected result:
The player's skin turns the original color.
Step to Reproduce:
1.Change to your custom camera with /camera command.
From JervieA20:
Command code used from command block:
/execute as @p at @p anchored eyes run camera @p set minecraft:free ease 0.1 linear pos 41.10 -55.63 -290.39 rot ~180 ~
2.Sleep to the bed in the light place.
Obversed result:
The player's skin turns black.
Expected result:
The player's skin turns the original color.
Step to Reproduce:
1.Change to your custom camera with /camera command.
From JervieA20:
Command code used from command block:
/execute as @p at @p anchored eyes run camera @p set minecraft:free ease 0.1 linear pos 41.10 -55.63 -290.39 rot ~180 ~
2.Sleep to the bed in the light place.
Obversed result:
The player's skin turns black.
Expected result:
The player's skin turns the original color.
Step to Reproduce:
1.Change to your custom camera with /camera command.
From JervieA20:
Command code used from command block:
/execute as @p at @p anchored eyes run camera @p set minecraft:free ease 0.1 linear pos 41.10 -55.63 -290.39 rot ~180 ~
2.Sleep to the bed in the light place.
Obversed result:
The player's skin turns black.
Expected result:
The player's skin turns the original color.
Player's skin sometimes turns black when you sleeping with the custom camera
Step to Reproduce:
1.Change to your custom camera with /camera command.
From JervieA20:
Command code used from command block:
/execute as @p at @p anchored eyes run camera @p set minecraft:free ease 0.1 linear pos 41.10 -55.63 -290.39 rot ~180 ~
2.Sleep to the bed
inthelightplace.Obversed result:
The player's skin turns black.
Expected result:
The player's skin turns the original color.
Step to Reproduce:
1.Change to your custom camera with /camera command.
From JervieA20 and his world:
Command code used from command block:
/execute as @p at @p anchored eyes run camera @p set minecraft:free ease 0.1 linear pos 41.10 -55.63 -290.39 rot ~180 ~
2.Sleep to the bed through the night.
Obversed result:
The player's skin turns black sometimes.
Expected result:
The player's skin turns the original color.

Confirmed
Please include the exact command(s) you are using in the Step(s) to Reproduce
Please always simply provide the exact and complete command that you used.
I uploaded the world file, Which including command codes from command block.
Player black on bed camera test.mcworld